summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64/syscall.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/x86_64/syscall.S')
-rw-r--r--libc/sysdeps/linux/x86_64/syscall.S5
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/x86_64/syscall.S b/libc/sysdeps/linux/x86_64/syscall.S
index f6273b75f..86306906a 100644
--- a/libc/sysdeps/linux/x86_64/syscall.S
+++ b/libc/sysdeps/linux/x86_64/syscall.S
@@ -37,10 +37,7 @@ syscall:
movq 8(%rsp),%r9 /* arg6 is on the stack. */
syscall /* Do the system call. */
cmpq $-4095, %rax /* Check %rax for error. */
- jae __error /* Branch forward if it failed. */
+ jae __syscall_error /* Branch forward if it failed. */
ret /* Return to caller. */
-__error:
- jmp __syscall_error
-
.size syscall,.-syscall