about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2020-09-16 09:38:52 +0200
committerLukasz Majewski <lukma@denx.de>2020-09-30 09:37:41 +0200
commit3f9705f1fc7c3b0a5ffd7039c64935946a4cc300 (patch)
tree427a8762d6514d4a91085653305bb57d49f4b9d2 /sysdeps
parentcef95fdc2e4002ee6357d8d40ef73c8d875720e3 (diff)
downloadglibc-3f9705f1fc7c3b0a5ffd7039c64935946a4cc300.tar.gz
glibc-3f9705f1fc7c3b0a5ffd7039c64935946a4cc300.tar.xz
glibc-3f9705f1fc7c3b0a5ffd7039c64935946a4cc300.zip
nptl: Provide proper spelling for 32 bit version of futex_abstimed_wait
This change provides proper spelling of 32 bit __futex_abstimed_wait_cancelable32
function

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/nptl/futex-internal.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/nptl/futex-internal.c b/sysdeps/nptl/futex-internal.c
index 1594cb6166..a2e355bf86 100644
--- a/sysdeps/nptl/futex-internal.c
+++ b/sysdeps/nptl/futex-internal.c
@@ -24,10 +24,10 @@
 
 #ifndef __ASSUME_TIME64_SYSCALLS
 static int
-__futex_abstimed_wait_cancellable32 (unsigned int* futex_word,
-                                     unsigned int expected, clockid_t clockid,
-                                     const struct __timespec64* abstime,
-                                     int private)
+__futex_abstimed_wait_cancelable32 (unsigned int* futex_word,
+                                    unsigned int expected, clockid_t clockid,
+                                    const struct __timespec64* abstime,
+                                    int private)
 {
   struct timespec ts32, *pts32 = NULL;
   if (abstime != NULL)
@@ -74,8 +74,8 @@ __futex_abstimed_wait_cancelable64 (unsigned int* futex_word,
                                  FUTEX_BITSET_MATCH_ANY);
 #ifndef __ASSUME_TIME64_SYSCALLS
   if (err == -ENOSYS)
-    err = __futex_abstimed_wait_cancellable32 (futex_word, expected,
-                                               clockid, abstime, private);
+    err = __futex_abstimed_wait_cancelable32 (futex_word, expected,
+                                              clockid, abstime, private);
 #endif
 
   switch (err)