summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads/cancel.c')
-rw-r--r--libpthread/linuxthreads/cancel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/cancel.c b/libpthread/linuxthreads/cancel.c
index c6b5f94f9..333925ef8 100644
--- a/libpthread/linuxthreads/cancel.c
+++ b/libpthread/linuxthreads/cancel.c
@@ -73,7 +73,7 @@ int pthread_cancel(pthread_t thread)
int already_canceled;
__pthread_lock(&handle->h_lock, NULL);
- if (invalid_handle(handle, thread)) {
+ if (nonexisting_handle(handle, thread)) {
__pthread_unlock(&handle->h_lock);
return ESRCH;
}