summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86_64/syscalls/read.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-x86_64/syscalls/read.S')
-rw-r--r--libc/arch-x86_64/syscalls/read.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/libc/arch-x86_64/syscalls/read.S b/libc/arch-x86_64/syscalls/read.S
index 0ff6c2a..400c87a 100644
--- a/libc/arch-x86_64/syscalls/read.S
+++ b/libc/arch-x86_64/syscalls/read.S
@@ -10,7 +10,6 @@ ENTRY(read)
negl %eax
movl %eax, %edi
call __set_errno
- orq $-1, %rax
1:
ret
END(read)