summaryrefslogtreecommitdiff
path: root/tests/errno1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errno1.c')
-rw-r--r--tests/errno1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/errno1.c b/tests/errno1.c
index f3231f5..9e6b46d 100644
--- a/tests/errno1.c
+++ b/tests/errno1.c
@@ -125,7 +125,7 @@ main()
pthread_mutex_lock(&stop_here);
errno = 0;
- assert((t[0] = pthread_self()) != NULL);
+ assert((t[0] = pthread_self()).p != NULL);
for (i = 1; i <= NUMTHREADS; i++)
{