summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 )