summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/mmap64.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/i386/mmap64.S')
-rw-r--r--libc/sysdeps/linux/i386/mmap64.S5
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/i386/mmap64.S b/libc/sysdeps/linux/i386/mmap64.S
index 34cee1640..5c89c983b 100644
--- a/libc/sysdeps/linux/i386/mmap64.S
+++ b/libc/sysdeps/linux/i386/mmap64.S
@@ -76,7 +76,7 @@ mmap64:
/* If 0 > %eax > -4096 there was an error. */
cmpl $-4095,%eax
- ja __error
+ ja __syscall_error
/* Successful; return the syscall's value. */
ret
@@ -89,9 +89,6 @@ L_einval:
movl $-EINVAL, %eax
jmp __error
-__error:
- jmp __syscall_error
-
.size mmap64,.-mmap64
#endif