diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-09-30 02:53:32 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-09-30 02:53:32 +0000 |
commit | 4562dd8789617f8976b712cad375a8f715b33d97 (patch) | |
tree | eb8773247e8e2f272c29ff2f5a75f7f783289ec2 /testsuites/psxtests/psx09 | |
parent | 2011-09-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-4562dd8789617f8976b712cad375a8f715b33d97.tar.bz2 |
2011-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* psx01/init.c, psx07/init.c, psx09/init.c, psx12/init.c,
psxclock/init.c, psxtimer01/psxtimer.c: Include "pritime.h".
Use PRIdtime_t to print time_t.
Diffstat (limited to 'testsuites/psxtests/psx09')
-rw-r--r-- | testsuites/psxtests/psx09/init.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx09/init.c b/testsuites/psxtests/psx09/init.c index 787973f7ee..bc7015cb46 100644 --- a/testsuites/psxtests/psx09/init.c +++ b/testsuites/psxtests/psx09/init.c @@ -18,6 +18,7 @@ #define CONFIGURE_INIT #include "system.h" #include <errno.h> +#include "pritime.h" void print_schedparam( char *prefix, @@ -37,10 +38,10 @@ void print_schedparam( #if defined(_POSIX_SPORADIC_SERVER) printf( "%ssched_ss_low_priority = %d\n", prefix, schedparam->sched_ss_low_priority ); - printf( "%ssched_ss_repl_period = (%ld, %ld)\n", prefix, + printf( "%ssched_ss_repl_period = (%" PRIdtime_t ", %ld)\n", prefix, schedparam->sched_ss_repl_period.tv_sec, schedparam->sched_ss_repl_period.tv_nsec ); - printf( "%ssched_ss_init_budget = (%ld, %ld)\n", prefix, + printf( "%ssched_ss_init_budget = (%" PRIdtime_t ", %ld)\n", prefix, schedparam->sched_ss_init_budget.tv_sec, schedparam->sched_ss_init_budget.tv_nsec ); #else |