summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86_64/syscalls/unshare.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-x86_64/syscalls/unshare.S')
-rw-r--r--libc/arch-x86_64/syscalls/unshare.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/arch-x86_64/syscalls/unshare.S b/libc/arch-x86_64/syscalls/unshare.S
index 044af99..8316d20 100644
--- a/libc/arch-x86_64/syscalls/unshare.S
+++ b/libc/arch-x86_64/syscalls/unshare.S
@@ -9,8 +9,7 @@ ENTRY(unshare)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
- orq $-1, %rax
+ call __set_errno_internal
1:
ret
END(unshare)