summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64/vfork.S
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-08 12:28:18 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-08 12:28:18 +0000
commitbc9ff8040ef8042ba858baf9c28b1825337ce4df (patch)
tree4fc3f9fd5bbc27a1d8d0e55021afc02d298affb9 /libc/sysdeps/linux/x86_64/vfork.S
parenta83c32e036222fc33cd99fd9f97b067b5e6442dd (diff)
fix errno handling with some magical hacks
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 */