diff options
Diffstat (limited to 'testsuites/psxtests/psx01')
-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 ); |