aboutsummaryrefslogtreecommitdiff
path: root/nptl/pthread_cond_wait.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_cond_wait.c')
-rw-r--r--nptl/pthread_cond_wait.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/pthread_cond_wait.c b/nptl/pthread_cond_wait.c
index 37c5ffe846..0e3e87fd61 100644
--- a/nptl/pthread_cond_wait.c
+++ b/nptl/pthread_cond_wait.c
@@ -36,7 +36,7 @@ pthread_cond_wait (cond, mutex)
lll_mutex_lock (cond->__data.__lock);
/* Release the mutex. This might fail. */
- err = pthread_mutex_unlock (mutex);
+ err = INTUSE(__pthread_mutex_unlock) (mutex);
if (__builtin_expect (err != 0, 0))
{
lll_mutex_unlock (cond->__data.__lock);
@@ -57,7 +57,7 @@ pthread_cond_wait (cond, mutex)
lll_mutex_unlock (cond->__data.__lock);
/* We have to get the mutex before returning. */
- err = pthread_mutex_lock (mutex);
+ err = INTUSE(__pthread_mutex_lock) (mutex);
/* Cancellation handling. */
CANCELLATION_P (THREAD_SELF);