summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86_64/syscalls/munlockall.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-x86_64/syscalls/munlockall.S')
-rw-r--r--libc/arch-x86_64/syscalls/munlockall.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/arch-x86_64/syscalls/munlockall.S b/libc/arch-x86_64/syscalls/munlockall.S
index 6bb7aa6..f9579df 100644
--- a/libc/arch-x86_64/syscalls/munlockall.S
+++ b/libc/arch-x86_64/syscalls/munlockall.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(munlockall)
movl $__NR_munlockall, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(munlockall)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(munlockall)