summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxstat/test.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-03-05 15:51:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-03-05 15:51:13 +0000
commit3c0c89888db501fd0a63533881bbf5f915716f8d (patch)
treee9f844bddeb0aea68486813fc2ecb686a34426fe /testsuites/psxtests/psxstat/test.c
parent2004-03-05 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-3c0c89888db501fd0a63533881bbf5f915716f8d.tar.bz2
2004-03-05 Joel Sherrill <joel@OARcorp.com>
* psxfile01/test.c, psxmsgq01/init.c, psxstat/test.c, psxtimer/psxtimer.c: Eliminate warnings and typos.
Diffstat (limited to 'testsuites/psxtests/psxstat/test.c')
-rw-r--r--testsuites/psxtests/psxstat/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxstat/test.c b/testsuites/psxtests/psxstat/test.c
index b9426a2328..f6189d4782 100644
--- a/testsuites/psxtests/psxstat/test.c
+++ b/testsuites/psxtests/psxstat/test.c
@@ -197,7 +197,7 @@ 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_mode %o\n", statbuf.st_mode );
+ 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 );