mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 10:50:20 +08:00
2010-06-30 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1595/tests * psximfs01/init.c: Fix warnings.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user