summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxfile01/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxfile01/test.c')
-rw-r--r--testsuites/psxtests/psxfile01/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxfile01/test.c b/testsuites/psxtests/psxfile01/test.c
index 1e61fef2b8..3d27da4dd8 100644
--- a/testsuites/psxtests/psxfile01/test.c
+++ b/testsuites/psxtests/psxfile01/test.c
@@ -80,7 +80,7 @@ void dump_statbuf( struct stat *buf )
printf( "....st_dev (0x%x:0x%x)\n", major1, minor1 );
printf( "....st_ino %x may vary by small amount\n",
(unsigned int) buf->st_ino );
- printf( "....mode = %08o\n", buf->st_mode );
+ printf( "....mode = %08o\n", (unsigned int) buf->st_mode );
printf( "....nlink = %d\n", buf->st_nlink );
printf( "....uid = %d\n", buf->st_uid );