summaryrefslogtreecommitdiff
path: root/lib/librthread/arch/vax/cerror.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librthread/arch/vax/cerror.S')
-rw-r--r--lib/librthread/arch/vax/cerror.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/librthread/arch/vax/cerror.S b/lib/librthread/arch/vax/cerror.S
index b5c468deeac..e860dadbf70 100644
--- a/lib/librthread/arch/vax/cerror.S
+++ b/lib/librthread/arch/vax/cerror.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: cerror.S,v 1.1 2011/10/17 06:39:20 guenther Exp $ */
+/* $OpenBSD: cerror.S,v 1.2 2013/07/05 21:10:50 miod Exp $ */
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
@@ -32,9 +32,9 @@
.globl _C_LABEL(__errno)
_C_LABEL(_cerror):
- pushl r0
+ pushl %r0
calls $0, _C_LABEL(__errno)
- movl (sp)+, (r0)
- mnegl $1,r0
- movl r0,r1
+ movl (%sp)+, (%r0)
+ mnegl $1,%r0
+ movl %r0,%r1
ret