Browse Source

linuxthreads: Fix warnings in pthread_tryjoin_np(), pthread_timedjoin_np()

Accidentally, commit 43ef9c6b3 wasn't taken into account.

Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com>
Leonid Lisovskiy 8 years ago
parent
commit
470a2a6bf7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      libpthread/linuxthreads/join.c

+ 2 - 2
libpthread/linuxthreads/join.c

@@ -230,7 +230,7 @@ int pthread_tryjoin_np(pthread_t thread_id, void ** thread_return)
     request.req_thread = self;
     request.req_kind = REQ_FREE;
     request.req_args.free.thread_id = thread_id;
-    TEMP_FAILURE_RETRY(__libc_write(__pthread_manager_request,
+    TEMP_FAILURE_RETRY(write(__pthread_manager_request,
 		(char *) &request, sizeof(request)));
   }
   return 0;
@@ -319,7 +319,7 @@ int pthread_timedjoin_np(pthread_t thread_id, void ** thread_return,
       request.req_thread = self;
       request.req_kind = REQ_FREE;
       request.req_args.free.thread_id = thread_id;
-      TEMP_FAILURE_RETRY(__libc_write(__pthread_manager_request,
+      TEMP_FAILURE_RETRY(write(__pthread_manager_request,
 		(char *) &request, sizeof(request)));
     }
   }