aboutsummaryrefslogtreecommitdiff
path: root/nptl/libc-cleanup.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/libc-cleanup.c')
-rw-r--r--nptl/libc-cleanup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/libc-cleanup.c b/nptl/libc-cleanup.c
index 14ccfe9285..6286b8b525 100644
--- a/nptl/libc-cleanup.c
+++ b/nptl/libc-cleanup.c
@@ -79,7 +79,7 @@ __libc_cleanup_pop_restore (struct _pthread_cleanup_buffer *buffer)
cancelhandling = curval;
}
- CANCELLATION_P (self);
+ __pthread_testcancel ();
}
}
libc_hidden_def (__libc_cleanup_pop_restore)