diff options
Diffstat (limited to 'tests/condvar5.c')
-rw-r--r-- | tests/condvar5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/condvar5.c b/tests/condvar5.c index 53311b4..ff5ad70 100644 --- a/tests/condvar5.c +++ b/tests/condvar5.c @@ -101,10 +101,10 @@ mythread(void * arg) cvthing.shared++; - assert(pthread_mutex_unlock(&cvthing.lock) == 0); - assert(pthread_cond_broadcast(&cvthing.notbusy) == 0); + assert(pthread_mutex_unlock(&cvthing.lock) == 0); + return (void *) 0; } |