summaryrefslogtreecommitdiff
path: root/tests/cancel6a.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cancel6a.c')
-rw-r--r--tests/cancel6a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cancel6a.c b/tests/cancel6a.c
index 4aea81a..644cd4a 100644
--- a/tests/cancel6a.c
+++ b/tests/cancel6a.c
@@ -115,7 +115,7 @@ main()
int i;
pthread_t t[NUMTHREADS + 1];
- assert((t[0] = pthread_self()) != NULL);
+ assert((t[0] = pthread_self()).p != NULL);
for (i = 1; i <= NUMTHREADS; i++)
{