2009-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>

* psx04/init.c: Correct errors introduced by using different variable
	for return type when correcting typing warnings.
This commit is contained in:
Joel Sherrill
2009-05-17 16:26:01 +00:00
parent 5860b90232
commit ea6dbd0e1c
2 changed files with 9 additions and 4 deletions
+5
View File
@@ -1,3 +1,8 @@
2009-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx04/init.c: Correct errors introduced by using different variable
for return type when correcting typing warnings.
2009-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to provide coverage analysis
+4 -4
View File
@@ -257,13 +257,13 @@ void *POSIX_Init(
puts( "Init: Firing alarm in 2 seconds" );
remaining = alarm( 2 );
printf( "Init: %d seconds left on previous alarm\n", status );
assert( status );
printf( "Init: %d seconds left on previous alarm\n", remaining );
assert( remaining == 5 );
puts( "Init: Wait 4 seconds for alarm" );
remaining = sleep( 4 );
printf( "Init: %d seconds left in sleep\n", status );
assert( status );
printf( "Init: %d seconds left in sleep\n", remaining );
assert( remaining == 2 );
/* test SIG_SETMASK case and returning oset of pthread_sigmask */