diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-28 00:50:04 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-28 00:50:04 +0200 |
commit | 05cefb83e22c08aedf5d3b893ad387eb6424faba (patch) | |
tree | 20bdecf3032d11716c94afa3a7bb085f5b70493a /pthread/pt-cancel.c | |
parent | 85b62d7aaedb24b6ad07d437e5b8560f62d07529 (diff) |
Fix coding style
Diffstat (limited to 'pthread/pt-cancel.c')
-rw-r--r-- | pthread/pt-cancel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread/pt-cancel.c b/pthread/pt-cancel.c index b7e9a93..9f87724 100644 --- a/pthread/pt-cancel.c +++ b/pthread/pt-cancel.c @@ -27,7 +27,7 @@ pthread_cancel (pthread_t t) struct __pthread *p; p = __pthread_getid (t); - if (! p) + if (p == NULL) return ESRCH; __pthread_mutex_lock (&p->cancel_lock); |