diff options
Diffstat (limited to 'tests/condvar6.c')
-rw-r--r-- | tests/condvar6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/condvar6.c b/tests/condvar6.c index 7348346..dc29f48 100644 --- a/tests/condvar6.c +++ b/tests/condvar6.c @@ -93,7 +93,7 @@ mythread(void * arg) assert(pthread_mutex_lock(&cvthing.lock) == 0); - while (! cvthing.shared > 0) + while (! (cvthing.shared > 0)) assert(pthread_cond_timedwait(&cvthing.notbusy, &cvthing.lock, &abstime) == 0); assert(cvthing.shared > 0); |