diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-01 07:54:35 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-01 07:54:35 +0000 |
commit | a60113c616070d08198dde65fe10c912ba0b9368 (patch) | |
tree | 80efed3234049950bf29a98a9885d9e3d87c18c0 /testsuites/psxtests/psxreaddir | |
parent | 2009-01-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-a60113c616070d08198dde65fe10c912ba0b9368.tar.bz2 |
2009-01-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxreaddir/test.c: Apply PRI* macros to print struct stat fields.
Diffstat (limited to 'testsuites/psxtests/psxreaddir')
-rw-r--r-- | testsuites/psxtests/psxreaddir/test.c | 3 |
1 files changed, 1 insertions, 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("/"); |