diff options
Diffstat (limited to 'tests/cancel3.c')
-rw-r--r-- | tests/cancel3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cancel3.c b/tests/cancel3.c index c3657d6..3258fd0 100644 --- a/tests/cancel3.c +++ b/tests/cancel3.c @@ -126,7 +126,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++) { |