summaryrefslogtreecommitdiff
path: root/tests/exception1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exception1.c')
-rw-r--r--tests/exception1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/exception1.c b/tests/exception1.c
index 9b52636..0e63806 100644
--- a/tests/exception1.c
+++ b/tests/exception1.c
@@ -196,7 +196,7 @@ main()
pthread_t et[NUMTHREADS];
pthread_t ct[NUMTHREADS];
- assert((mt = pthread_self()) != NULL);
+ assert((mt = pthread_self()).p != NULL);
for (i = 0; i < NUMTHREADS; i++)
{