summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxreaddir
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-11-01 07:54:35 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-11-01 07:54:35 +0000
commita60113c616070d08198dde65fe10c912ba0b9368 (patch)
tree80efed3234049950bf29a98a9885d9e3d87c18c0 /testsuites/psxtests/psxreaddir
parent2009-01-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-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.c3
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("/");