diff options
Diffstat (limited to 'pthread/pt-self.c')
-rw-r--r-- | pthread/pt-self.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread/pt-self.c b/pthread/pt-self.c index 44e43dd..0f932ac 100644 --- a/pthread/pt-self.c +++ b/pthread/pt-self.c @@ -25,7 +25,7 @@ pthread_t __pthread_self (void) { struct __pthread *self = _pthread_self (); - assert (self); + assert (self != NULL); return self->thread; } |