Ignore:
Timestamp:
Oct 27, 2009, 3:57:28 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
2441f74
Parents:
669ad957
Message:

Use %ld to print *.tv_nsec.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/psxtimer01/psxtimer.c

    r669ad957 r17c7533  
    122122   }
    123123   printf(
    124     "task A: timer_settime - value=%" PRItime_t ":%d interval=%" PRItime_t ":%d\n",
     124    "task A: timer_settime - value=%" PRItime_t ":%ld interval=%" PRItime_t ":%ld\n",
    125125    timergetdata.it_value.tv_sec, timergetdata.it_value.tv_nsec,
    126126    timergetdata.it_interval.tv_sec, timergetdata.it_interval.tv_nsec
     
    308308       }
    309309       printf(
    310          "task C: timer_gettime - %" PRItime_t ":%d remaining from %" PRItime_t ":%d\n",
     310         "task C: timer_gettime - %" PRItime_t ":%ld remaining from %" PRItime_t ":%ld\n",
    311311         timergetdata.it_value.tv_sec, timergetdata.it_value.tv_nsec,
    312312         timergetdata.it_interval.tv_sec, timergetdata.it_interval.tv_nsec
Note: See TracChangeset for help on using the changeset viewer.