From ea6dbd0e1ced1582c5b33844b2c18287a9a0e3d9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 17 May 2009 16:26:01 +0000 Subject: 2009-05-17 Joel Sherrill * psx04/init.c: Correct errors introduced by using different variable for return type when correcting typing warnings. --- testsuites/psxtests/psx04/init.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'testsuites/psxtests/psx04') diff --git a/testsuites/psxtests/psx04/init.c b/testsuites/psxtests/psx04/init.c index 54c7b5bb05..e09f298101 100644 --- a/testsuites/psxtests/psx04/init.c +++ b/testsuites/psxtests/psx04/init.c @@ -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 */ -- cgit v1.2.3