summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxclock
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-26 09:10:20 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-26 09:10:20 +0000
commitd2a3b42ed7e51e97523cd510e512baa4f67ec427 (patch)
treeb9cbb94e8ad7e2db4c5668db19cd47b76181b160 /testsuites/psxtests/psxclock
parent2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-d2a3b42ed7e51e97523cd510e512baa4f67ec427.tar.bz2
Use PRItime_t to print time_t's.
Diffstat (limited to 'testsuites/psxtests/psxclock')
-rw-r--r--testsuites/psxtests/psxclock/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxclock/init.c b/testsuites/psxtests/psxclock/init.c
index 9261774c96..03a394a719 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: (%d, %d)\n", tv.tv_sec,tv.tv_nsec );
+ printf("Time since boot: (%" PRItime_t ", %d)\n", tv.tv_sec,tv.tv_nsec );
sc = clock_gettime( CLOCK_REALTIME, &tv );
rtems_test_assert( !sc );