From 8657c93f0adeefd1b50d54ae30aa0a4ba2d89827 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 28 Mar 2018 02:03:11 +0200 Subject: Fix coding style --- pthread/pt-exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pthread/pt-exit.c') 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); -- cgit v1.2.3