diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-06-30 13:54:15 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-06-30 13:54:15 +0000 |
commit | 71a5e5a11357f816974641fe49c6f4785fab4820 (patch) | |
tree | 3b2dcc4949abc50454b5be24390160dadfa116bf /testsuites/psxtests/psximfs01 | |
parent | 2010-06-30 Peter Dufault <dufault@hda.com> (diff) | |
download | rtems-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.c | 4 |
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 ) |