summaryrefslogtreecommitdiff
path: root/tests/condvar5.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/condvar5.c')
-rw-r--r--tests/condvar5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/condvar5.c b/tests/condvar5.c
index d0d15a1..56510c5 100644
--- a/tests/condvar5.c
+++ b/tests/condvar5.c
@@ -117,7 +117,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);