summaryrefslogtreecommitdiff
path: root/pthread/pt-exit.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-28 02:03:11 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-28 02:03:11 +0200
commit8657c93f0adeefd1b50d54ae30aa0a4ba2d89827 (patch)
tree4fde4d311d435ab0f5413e168f4c99767f7032ef /pthread/pt-exit.c
parented3150fb7413fce0321ad88a22de7871a301f7c3 (diff)
Fix coding style
Diffstat (limited to 'pthread/pt-exit.c')
-rw-r--r--pthread/pt-exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread/pt-exit.c b/pthread/pt-exit.c
index 314bfd4..8f3d755 100644
--- a/pthread/pt-exit.c
+++ b/pthread/pt-exit.c
@@ -41,7 +41,7 @@ __pthread_exit (void *status)
pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, &oldstate);
for (handlers = __pthread_get_cleanup_stack ();
- *handlers;
+ *handlers != NULL;
*handlers = (*handlers)->__next)
(*handlers)->__handler ((*handlers)->__arg);