diff options
Diffstat (limited to 'pthread/pt-exit.c')
-rw-r--r-- | pthread/pt-exit.c | 2 |
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); |