about summary refs log tree commit diff
path: root/htl/pt-cleanup.c
diff options
context:
space:
mode:
Diffstat (limited to 'htl/pt-cleanup.c')
-rw-r--r--htl/pt-cleanup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/htl/pt-cleanup.c b/htl/pt-cleanup.c
index a9a7c95847..7e6149bda9 100644
--- a/htl/pt-cleanup.c
+++ b/htl/pt-cleanup.c
@@ -23,6 +23,6 @@
 struct __pthread_cancelation_handler **
 __pthread_get_cleanup_stack (void)
 {
-  return &_pthread_self ()->cancelation_handlers;
+  return &__pthread_cleanup_stack;
 }
 hidden_def(__pthread_get_cleanup_stack)