]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
nptl: Provide proper spelling for 32 bit version of futex_abstimed_wait
authorLukasz Majewski <lukma@denx.de>
Wed, 16 Sep 2020 07:38:52 +0000 (09:38 +0200)
committerLukasz Majewski <lukma@denx.de>
Wed, 30 Sep 2020 07:37:41 +0000 (09:37 +0200)
This change provides proper spelling of 32 bit __futex_abstimed_wait_cancelable32
function

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
sysdeps/nptl/futex-internal.c

index 1594cb6166457ae4619495d0995877111c8e5ce7..a2e355bf86996dcfd5f8174b3b776998f95b0d84 100644 (file)
 
 #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)