From d2a3b42ed7e51e97523cd510e512baa4f67ec427 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 26 Oct 2009 09:10:20 +0000 Subject: Use PRItime_t to print time_t's. --- testsuites/psxtests/psxclock/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites/psxtests/psxclock/init.c') 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 ); -- cgit v1.2.3