summaryrefslogtreecommitdiff
path: root/pthread/pt-exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread/pt-exit.c')
-rw-r--r--pthread/pt-exit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pthread/pt-exit.c b/pthread/pt-exit.c
index 6d827db..3427de5 100644
--- a/pthread/pt-exit.c
+++ b/pthread/pt-exit.c
@@ -43,8 +43,8 @@ __pthread_exit (void *status)
for (handlers = __pthread_get_cleanup_stack ();
*handlers;
- *handlers = (*handlers)->next)
- (*handlers)->handler ((*handlers)->arg);
+ *handlers = (*handlers)->__next)
+ (*handlers)->__handler ((*handlers)->__arg);
pthread_setcancelstate (oldstate, &oldstate);