summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests
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
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')
-rw-r--r--testsuites/psxtests/ChangeLog5
-rw-r--r--testsuites/psxtests/psximfs01/init.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog
index d07cc83c9f..b506b6d1b1 100644
--- a/testsuites/psxtests/ChangeLog
+++ b/testsuites/psxtests/ChangeLog
@@ -1,3 +1,8 @@
+2010-06-30 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ PR 1595/tests
+ * psximfs01/init.c: Fix warnings.
+
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxtime/psxtime.scn, psxtime/test.c: Add test for passing a null
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 )