summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86_64/syscalls/pipe2.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-x86_64/syscalls/pipe2.S')
-rw-r--r--libc/arch-x86_64/syscalls/pipe2.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/arch-x86_64/syscalls/pipe2.S b/libc/arch-x86_64/syscalls/pipe2.S
index e34ca69..d488c87 100644
--- a/libc/arch-x86_64/syscalls/pipe2.S
+++ b/libc/arch-x86_64/syscalls/pipe2.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(pipe2)
movl $__NR_pipe2, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(pipe2)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(pipe2)