summaryrefslogtreecommitdiff
path: root/tests/cleanup0.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cleanup0.c')
-rw-r--r--tests/cleanup0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cleanup0.c b/tests/cleanup0.c
index 03098d3..8171e8c 100644
--- a/tests/cleanup0.c
+++ b/tests/cleanup0.c
@@ -140,7 +140,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++)
{