summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/cancel.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-09 02:45:42 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-09 02:45:42 +0000
commit290e2375ab94332ff3c69001cf7cf75f7a7b16e6 (patch)
treeae4c119ee560f143539766b66c303eaac7ac09c5 /libpthread/linuxthreads/cancel.c
parent43014917a316b581cca09dbc32c04cbdb517ffda (diff)
newer linuxthreads renamed the function invalid_handle() to nonexisting_handle()
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;
}