diff options
Diffstat (limited to 'libc/arch-x86_64/syscalls/read.S')
-rw-r--r-- | libc/arch-x86_64/syscalls/read.S | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/arch-x86_64/syscalls/read.S b/libc/arch-x86_64/syscalls/read.S index 3f2862e..df70e7f 100644 --- a/libc/arch-x86_64/syscalls/read.S +++ b/libc/arch-x86_64/syscalls/read.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(read) movl $__NR_read, %eax syscall @@ -11,7 +9,7 @@ ENTRY(read) jb 1f negl %eax movl %eax, %edi - call __set_errno + call __set_errno_internal 1: ret END(read) |