summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 34a1aec3d1..51d2cc20ef 100644
--- a/testsuites/psxtests/psx05/init.c
+++ b/testsuites/psxtests/psx05/init.c
@@ -377,9 +377,9 @@ void *POSIX_Init(
puts( "Init: pthread_mutex_trylock - EDEADLK (already locked)" );
status = pthread_mutex_trylock( &Mutex_id );
- if ( status != EDEADLK )
+ if ( status != EBUSY )
printf( "status = %d\n", status );
- rtems_test_assert( status == EDEADLK );
+ rtems_test_assert( status == EBUSY );
puts( "Init: pthread_mutex_lock - EINVAL (NULL id)" );
status = pthread_mutex_lock( NULL );