From a60113c616070d08198dde65fe10c912ba0b9368 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 1 Nov 2009 07:54:35 +0000 Subject: [PATCH] =?UTF-8?q?2009-01-01=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * psxreaddir/test.c: Apply PRI* macros to print struct stat fields. --- testsuites/psxtests/psxreaddir/test.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testsuites/psxtests/psxreaddir/test.c b/testsuites/psxtests/psxreaddir/test.c index eba7a692e1..72e6128f9d 100644 --- a/testsuites/psxtests/psxreaddir/test.c +++ b/testsuites/psxtests/psxreaddir/test.c @@ -358,8 +358,7 @@ int main( printf( "\nPerforming stat of directory /\n"); status = stat( "/", &s ); - printf("status for stat : %d, size of directory: %d\n\n", - status,(int)s.st_size); + printf("status for stat : %d, size of directory: %" PRIdoff_t "\n\n", status, s.st_size); puts( "\nOpen and print directory /" ); directory = opendir("/");