diff options
Diffstat (limited to 'testsuites/psxtests/psxstat')
-rw-r--r-- | testsuites/psxtests/psxstat/test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/psxtests/psxstat/test.c b/testsuites/psxtests/psxstat/test.c index 1553142c51..3f4c2e9481 100644 --- a/testsuites/psxtests/psxstat/test.c +++ b/testsuites/psxtests/psxstat/test.c @@ -196,18 +196,18 @@ void stat_a_file( printf("\n...st_dev (0x%x:0x%x)\n", major1, minor1 ); - printf( "...st_ino %x\n", (int) statbuf.st_ino ); + printf( "...st_ino %" PRIxino_t "\n", statbuf.st_ino ); printf( "...st_mode %o\n", (unsigned int) statbuf.st_mode ); printf( "...st_nlink %x\n", statbuf.st_nlink ); printf( "...st_uid %d\n", statbuf.st_uid ); printf( "...st_gid %d\n", statbuf.st_gid ); printf( "...st_rdev (0x%x:0x%x)\n", major2, minor2 ); - printf( "...st_size %d\n",(unsigned int) statbuf.st_size ); + printf( "...st_size %" PRIdoff_t "\n", statbuf.st_size ); printf( "...st_atime %s", ctime( &statbuf.st_atime ) ); printf( "...st_mtime %s", ctime( &statbuf.st_mtime ) ); printf( "...st_ctime %s", ctime( &statbuf.st_ctime ) ); - printf( "...st_blksize %lx\n", statbuf.st_blksize ); - printf( "...st_blocks %lx\n", statbuf.st_blocks ); + printf( "...st_blksize %" PRIxblksize_t "\n", statbuf.st_blksize ); + printf( "...st_blocks %" PRIxblkcnt_t "\n", statbuf.st_blocks ); } } |