diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-27 03:57:28 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-27 03:57:28 +0000 |
commit | 17c75334105d505ec89956e9fea31060e6a3ad61 (patch) | |
tree | ec0401984cc86096a880d42e82a6e6b52e455653 /testsuites/psxtests/psxclock/init.c | |
parent | Misc. warning fixes. (diff) | |
download | rtems-17c75334105d505ec89956e9fea31060e6a3ad61.tar.bz2 |
Use %ld to print *.tv_nsec.
Diffstat (limited to 'testsuites/psxtests/psxclock/init.c')
-rw-r--r-- | testsuites/psxtests/psxclock/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxclock/init.c b/testsuites/psxtests/psxclock/init.c index 03a394a719..41fd228875 100644 --- a/testsuites/psxtests/psxclock/init.c +++ b/testsuites/psxtests/psxclock/init.c @@ -110,7 +110,7 @@ rtems_task Init( /* print new times to make sure it has changed and we can get the realtime */ sc = clock_gettime( CLOCK_PROCESS_CPUTIME, &tv ); rtems_test_assert( !sc ); - printf("Time since boot: (%" PRItime_t ", %d)\n", tv.tv_sec,tv.tv_nsec ); + printf("Time since boot: (%" PRItime_t ", %ld)\n", tv.tv_sec,tv.tv_nsec ); sc = clock_gettime( CLOCK_REALTIME, &tv ); rtems_test_assert( !sc ); |