summaryrefslogtreecommitdiff
path: root/tests/condvar3.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/condvar3.c')
-rw-r--r--tests/condvar3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/condvar3.c b/tests/condvar3.c
index a25c15a..673feb5 100644
--- a/tests/condvar3.c
+++ b/tests/condvar3.c
@@ -96,7 +96,7 @@ main()
abstime.tv_sec += 5;
- while (! shared > 0)
+ while (! (shared > 0))
assert(pthread_cond_timedwait(&cv, &mutex, &abstime) == 0);
assert(shared > 0);