summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64/vfork.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/x86_64/vfork.S')
-rw-r--r--libc/sysdeps/linux/x86_64/vfork.S5
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/x86_64/vfork.S b/libc/sysdeps/linux/x86_64/vfork.S
index 5786058d2..996f1289e 100644
--- a/libc/sysdeps/linux/x86_64/vfork.S
+++ b/libc/sysdeps/linux/x86_64/vfork.S
@@ -51,14 +51,11 @@ __vfork:
pushq %rdi
cmpl $-4095, %eax
- jae __error /* Branch forward if it failed. */
+ jae __syscall_error /* Branch forward if it failed. */
/* Normal return. */
ret
-__error:
- jmp __syscall_error
-
.size __vfork,.-__vfork
#endif /* __NR_vfork */