summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psximfs01
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-30 13:54:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-30 13:54:15 +0000
commit71a5e5a11357f816974641fe49c6f4785fab4820 (patch)
tree3b2dcc4949abc50454b5be24390160dadfa116bf /testsuites/psxtests/psximfs01
parent2010-06-30 Peter Dufault <dufault@hda.com> (diff)
downloadrtems-71a5e5a11357f816974641fe49c6f4785fab4820.tar.bz2
2010-06-30 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1595/tests * psximfs01/init.c: Fix warnings.
Diffstat (limited to 'testsuites/psxtests/psximfs01')
-rw-r--r--testsuites/psxtests/psximfs01/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psximfs01/init.c b/testsuites/psxtests/psximfs01/init.c
index dcdd813e59..515ac2fbd0 100644
--- a/testsuites/psxtests/psximfs01/init.c
+++ b/testsuites/psxtests/psximfs01/init.c
@@ -52,7 +52,7 @@ void write_helper(void)
written = write( TestFd, Buffer, sizeof(Buffer) );
if ( written == -1 ) {
if ( errno == ENOSPC ) {
- printf( "Total written = %d\n", TotalWritten );
+ printf( "Total written = %zd\n", TotalWritten );
return;
}
fprintf(
@@ -97,7 +97,7 @@ void read_helper(void)
}
fprintf(
stderr,
- "ERROR - at offset %d - returned %d and error=%s\n",
+ "ERROR - at offset %zd - returned %zd and error=%s\n",
i,
sc,
strerror( errno )