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/psx01/init.c | |
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 '')
-rw-r--r-- | testsuites/psxtests/psx01/init.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/testsuites/psxtests/psx01/init.c b/testsuites/psxtests/psx01/init.c index c3ce2cf925..40616c3c9e 100644 --- a/testsuites/psxtests/psx01/init.c +++ b/testsuites/psxtests/psx01/init.c @@ -13,11 +13,13 @@ #include "config.h" #endif -#define CONFIGURE_INIT -#include "system.h" #include <sched.h> #include <sys/utsname.h> +#define CONFIGURE_INIT +#include "system.h" +#include "pritime.h" + void *POSIX_Init( void *argument ) @@ -87,7 +89,7 @@ void *POSIX_Init( status = sched_rr_get_interval( getpid(), &tr ); printf( - "Init: Round Robin quantum is %ld seconds, %ld nanoseconds\n", + "Init: Round Robin quantum is %" PRIdtime_t " seconds, %ld nanoseconds\n", tr.tv_sec, tr.tv_nsec ); |