summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86/syscalls/setsid.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-x86/syscalls/setsid.S')
-rw-r--r--libc/arch-x86/syscalls/setsid.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/arch-x86/syscalls/setsid.S b/libc/arch-x86/syscalls/setsid.S
index 5c933b3..dda6ad8 100644
--- a/libc/arch-x86/syscalls/setsid.S
+++ b/libc/arch-x86/syscalls/setsid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setsid)
movl $__NR_setsid, %eax
int $0x80
@@ -11,7 +9,7 @@ ENTRY(setsid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
ret