summaryrefslogtreecommitdiff
path: root/tests/condvar3.c
diff options
context:
space:
mode:
authorrpj <rpj>2004-11-03 01:08:41 +0000
committerrpj <rpj>2004-11-03 01:08:41 +0000
commitec8290acdaea21b16d98f1ef5d4ae8a28ab2109a (patch)
tree0bd3750ec1cc12594b6cfe69473e393da6ec101b /tests/condvar3.c
parentcccaf0c2c82e78a72d69a4a50c872f308bed2f65 (diff)
Mutex, semaphore, thread ID, test suite changes - see ChangeLogs
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 8fa9ef7..7a30531 100644
--- a/tests/condvar3.c
+++ b/tests/condvar3.c
@@ -120,7 +120,7 @@ main()
assert(pthread_attr_init(&attr) == 0);
assert(pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED) == 0);
- assert((t[0] = pthread_self()) != NULL);
+ assert((t[0] = pthread_self()).p != NULL);
assert(pthread_cond_init(&cv, NULL) == 0);