aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nptl/thrd_join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/thrd_join.c b/nptl/thrd_join.c
index 783e36f02b..0c482959d5 100644
--- a/nptl/thrd_join.c
+++ b/nptl/thrd_join.c
@@ -22,7 +22,7 @@ int
thrd_join (thrd_t thr, int *res)
{
void *pthread_res;
- int err_code = __pthread_clockjoin_ex (thr, &pthread_res, 0, NULL, true);
+ int err_code = __pthread_join (thr, &pthread_res);
if (res)
*res = (int) (uintptr_t) pthread_res;