summaryrefslogtreecommitdiff
path: root/tests/condvar4.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/condvar4.c')
-rw-r--r--tests/condvar4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/condvar4.c b/tests/condvar4.c
index 4729063..2ef1d79 100644
--- a/tests/condvar4.c
+++ b/tests/condvar4.c
@@ -118,7 +118,7 @@ main()
abstime.tv_sec += 5;
- while (! cvthing.shared > 0)
+ while (! (cvthing.shared > 0))
assert(pthread_cond_timedwait(&cvthing.notbusy, &cvthing.lock, &abstime) == 0);
assert(cvthing.shared > 0);