diff options
Diffstat (limited to 'testsuites/psxtests/psxclock/init.c')
-rw-r--r-- | testsuites/psxtests/psxclock/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/psxtests/psxclock/init.c b/testsuites/psxtests/psxclock/init.c index 1930bfa073..9f1e4615fc 100644 --- a/testsuites/psxtests/psxclock/init.c +++ b/testsuites/psxtests/psxclock/init.c @@ -17,7 +17,7 @@ void check_enosys(int status); void check_enosys(int status) { - if ( (status == -1) && (errno == ENOSYS) ) + if ( (status == -1) && (errno == ENOSYS) ) return; puts( "ERROR -- did not return ENOSYS as expected" ); rtems_test_exit(0); @@ -106,7 +106,7 @@ rtems_task Init( remaining = sleep( 3 ); rtems_test_assert( !remaining ); - + /* print new times to make sure it has changed and we can get the realtime */ sc = clock_gettime( CLOCK_PROCESS_CPUTIME, &tv ); rtems_test_assert( !sc ); @@ -211,7 +211,7 @@ rtems_task Init( delay_request.tv_nsec = 35000000; sc = nanosleep( &delay_request, NULL ); assert( !sc ); - + /* print the current real time again */ sc = clock_gettime( CLOCK_REALTIME, &tv ); rtems_test_assert( !sc ); |