about summary refs log tree commit diff
path: root/linuxthreads/join.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/join.c')
-rw-r--r--linuxthreads/join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/join.c b/linuxthreads/join.c
index 95c0ab6963..adcac46aa2 100644
--- a/linuxthreads/join.c
+++ b/linuxthreads/join.c
@@ -116,7 +116,7 @@ int pthread_join(pthread_t thread_id, void ** thread_return)
   extr.pu_extricate_func = join_extricate_func;
 
   __pthread_lock(&handle->h_lock, self);
-  if (invalid_handle(handle, thread_id)) {
+  if (nonexisting_handle(handle, thread_id)) {
     __pthread_unlock(&handle->h_lock);
     return ESRCH;
   }