summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
authorLeonid Lisovskiy <lly.dev@gmail.com>2016-05-24 22:16:50 +0300
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-05-28 21:47:17 +0200
commit470a2a6bf79bd9f79d0f16f2b2feb9cb208b3144 (patch)
treed6d868e9df3c63ee1a9044b73c9e510e99cb7829 /libpthread
parentff6db61ba779a21612b5b16aa2c4a6f2c5c0aac8 (diff)
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>
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/linuxthreads/join.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads/join.c b/libpthread/linuxthreads/join.c
index c7e547951..d422ac5cc 100644
--- a/libpthread/linuxthreads/join.c
+++ b/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)));
}
}