summaryrefslogtreecommitdiffstats
path: root/c/src/tests
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-09-05 20:31:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-09-05 20:31:32 +0000
commit7e230f1032c30a1c3f1bacf449fce8897e901a50 (patch)
tree42c30e3a1aa33c8e51331a88f1823c43157c94fb /c/src/tests
parentnanosleep: negative value for tv_sec is no longer an error. It now (diff)
downloadrtems-7e230f1032c30a1c3f1bacf449fce8897e901a50.tar.bz2
added printf of status when not successful
Diffstat (limited to 'c/src/tests')
-rw-r--r--c/src/tests/psxtests/psx05/task2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/c/src/tests/psxtests/psx05/task2.c b/c/src/tests/psxtests/psx05/task2.c
index b931debb0d..87c3f04b70 100644
--- a/c/src/tests/psxtests/psx05/task2.c
+++ b/c/src/tests/psxtests/psx05/task2.c
@@ -29,8 +29,10 @@ void *Task_2(
printf( "Task 2: pthread_mutex_lock unavailable (inherit case)\n" );
status = pthread_mutex_lock( &Mutex2_id );
- printf( "Task 2: mutex acquired\n" );
+ if ( status )
+ printf( "status =%d\n", status );
assert( !status );
+ printf( "Task 2: mutex acquired\n" );
/* switch to init */