diff options
Diffstat (limited to 'testsuites/psxtests/psx01')
-rw-r--r-- | testsuites/psxtests/psx01/init.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx01/init.c b/testsuites/psxtests/psx01/init.c index a7c5bf69bd..2d69a3786a 100644 --- a/testsuites/psxtests/psx01/init.c +++ b/testsuites/psxtests/psx01/init.c @@ -12,6 +12,7 @@ #define CONFIGURE_INIT #include "system.h" +#include <sched.h> #define TM_SUNDAY 0 #define TM_MONDAY 1 @@ -136,8 +137,8 @@ void *POSIX_Init( status = sched_rr_get_interval( getpid(), &tr ); printf( "Round Robin quantum is %d seconds, %d nanoseconds\n", - tr.tv_sec, - tr.tv_nsec + (int) tr.tv_sec, + (int) tr.tv_nsec ); assert( !status ); |