aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/amd64/sys
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2005-04-21 12:47:08 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2005-04-21 12:47:08 +0000
commitf2da7e0e490af25ba58a89c29e33f0686e451922 (patch)
tree3a0bd7e44889ea384320877f8537691b10f11ae3 /lib/libc/amd64/sys
parent1600372b6b8f7d4f5d6c90a480c7e18434111f9f (diff)
Notes
Diffstat (limited to 'lib/libc/amd64/sys')
-rw-r--r--lib/libc/amd64/sys/cerror.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/amd64/sys/cerror.S b/lib/libc/amd64/sys/cerror.S
index f9f4da0f46a0..fa28eca15b1b 100644
--- a/lib/libc/amd64/sys/cerror.S
+++ b/lib/libc/amd64/sys/cerror.S
@@ -55,7 +55,7 @@ HIDENAME(cerror):
pushq %rax
call PIC_PLT(CNAME(__error))
popq %rcx
- movq %rcx,(%rax)
+ movl %ecx,(%rax)
movq $-1,%rax
movq $-1,%rdx
ret