summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86/syscalls/dup.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-x86/syscalls/dup.S')
-rw-r--r--libc/arch-x86/syscalls/dup.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/arch-x86/syscalls/dup.S b/libc/arch-x86/syscalls/dup.S
index 64e1538..f8e8772 100644
--- a/libc/arch-x86/syscalls/dup.S
+++ b/libc/arch-x86/syscalls/dup.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(dup)
pushl %ebx
.cfi_def_cfa_offset 8