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 15a32ba..2da6708 100644
--- a/tests/condvar4.c
+++ b/tests/condvar4.c
@@ -119,7 +119,7 @@ main()
cvthing.shared = 0;
- assert((t[0] = pthread_self()) != NULL);
+ assert((t[0] = pthread_self()).p != NULL);
assert(cvthing.notbusy == PTHREAD_COND_INITIALIZER);