about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2018-06-12 16:17:05 -0400
committerCarlos O'Donell <carlos@redhat.com>2018-06-12 16:17:05 -0400
commit35df5a77f3ad2a35761631928440d2994a9e4bc5 (patch)
treed43606a3a3ba708a9aac9676ba744e30b81b43ff /nptl
parent48b12ed54ceb605ec3566249c0387612fd9c0ced (diff)
downloadglibc-35df5a77f3ad2a35761631928440d2994a9e4bc5.tar.gz
glibc-35df5a77f3ad2a35761631928440d2994a9e4bc5.tar.xz
glibc-35df5a77f3ad2a35761631928440d2994a9e4bc5.zip
Fix fallback path in __pthread_mutex_timedlock ().
Fix the typo in the fallback path in __pthread_mutex_timedlock ()
whic hcalls lll_futex_timed_wait ().  This is only useful for cases
where the patch is being backported to older distributions where
only lll_futex_timed_wait () is available.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/pthread_mutex_timedlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthread_mutex_timedlock.c b/nptl/pthread_mutex_timedlock.c
index 66efd3989f..28237b0e58 100644
--- a/nptl/pthread_mutex_timedlock.c
+++ b/nptl/pthread_mutex_timedlock.c
@@ -287,7 +287,7 @@ __pthread_mutex_timedlock (pthread_mutex_t *mutex,
 	  /* Block using the futex.  */
 #if (!defined __ASSUME_FUTEX_CLOCK_REALTIME \
      || !defined lll_futex_timed_wait_bitset)
-	  lll_futex_timed wait (&mutex->__data.__lock, oldval,
+	  lll_futex_timed_wait (&mutex->__data.__lock, oldval,
 				&rt, PTHREAD_ROBUST_MUTEX_PSHARED (mutex));
 #else
 	  int err = lll_futex_timed_wait_bitset (&mutex->__data.__lock,