summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx05
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psx05')
-rw-r--r--testsuites/psxtests/psx05/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx05/init.c b/testsuites/psxtests/psx05/init.c
index 3f01b94e5a..70e2187828 100644
--- a/testsuites/psxtests/psx05/init.c
+++ b/testsuites/psxtests/psx05/init.c
@@ -430,9 +430,9 @@ void *POSIX_Init(
calculate_abstimeout( &times, -1, (TOD_NANOSECONDS_PER_SECOND / 2) );
status = pthread_mutex_timedlock( &Mutex_id, &times );
- if ( status != EBUSY )
+ if ( status != ETIMEDOUT )
printf( "status = %d\n", status );
- rtems_test_assert( status == EBUSY );
+ rtems_test_assert( status == ETIMEDOUT );
/* switch to idle */