summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86_64/syscalls/mmap.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-x86_64/syscalls/mmap.S')
-rw-r--r--libc/arch-x86_64/syscalls/mmap.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/arch-x86_64/syscalls/mmap.S b/libc/arch-x86_64/syscalls/mmap.S
index 44189a9..8aa4780 100644
--- a/libc/arch-x86_64/syscalls/mmap.S
+++ b/libc/arch-x86_64/syscalls/mmap.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mmap)
movq %rcx, %r10
movl $__NR_mmap, %eax
@@ -12,7 +10,7 @@ ENTRY(mmap)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(mmap)