From 4562dd8789617f8976b712cad375a8f715b33d97 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 30 Sep 2011 02:53:32 +0000 Subject: =?UTF-8?q?2011-09-30=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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. --- testsuites/psxtests/psx01/init.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'testsuites/psxtests/psx01') 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 #include +#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 ); -- cgit v1.2.3