summaryrefslogtreecommitdiff
path: root/pthread/pt-dealloc.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-28 00:50:04 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-28 00:50:04 +0200
commit05cefb83e22c08aedf5d3b893ad387eb6424faba (patch)
tree20bdecf3032d11716c94afa3a7bb085f5b70493a /pthread/pt-dealloc.c
parent85b62d7aaedb24b6ad07d437e5b8560f62d07529 (diff)
Fix coding style
Diffstat (limited to 'pthread/pt-dealloc.c')
-rw-r--r--pthread/pt-dealloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread/pt-dealloc.c b/pthread/pt-dealloc.c
index 1807a1d..15e251e 100644
--- a/pthread/pt-dealloc.c
+++ b/pthread/pt-dealloc.c
@@ -35,7 +35,7 @@ __pthread_dealloc (struct __pthread *pthread)
{
assert (pthread->state != PTHREAD_TERMINATED);
- if (! atomic_decrement_and_test (&pthread->nr_refs))
+ if (!atomic_decrement_and_test (&pthread->nr_refs))
return;
/* Withdraw this thread from the thread ID lookup table. */