summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-23 10:08:30 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-23 10:08:30 +0000
commit1b706bc854f0d73948806687eaac95eb132ada05 (patch)
treec1dfe6997850030464bff732de267693347f9fae /lib
parent37efd5a7fbb447c038a422f0421b8e033b4ad171 (diff)
from mark; set r1 to -1 as well as r0 so callers expecting a 64 bit
result will get -1.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/arch/arm32/sys/cerror.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/arch/arm32/sys/cerror.S b/lib/libc/arch/arm32/sys/cerror.S
index 42c34cfea3f..67602cf5231 100644
--- a/lib/libc/arch/arm32/sys/cerror.S
+++ b/lib/libc/arch/arm32/sys/cerror.S
@@ -1,4 +1,4 @@
-/* $NetBSD: cerror.S,v 1.2 1996/05/12 19:55:06 mark Exp $ */
+/* $NetBSD: cerror.S,v 1.2.4.1 1996/06/16 13:16:01 mark Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -33,7 +33,7 @@
* SUCH DAMAGE.
*
* from: @(#)cerror.s 5.1 (Berkeley) 4/23/90
- * $Id: cerror.S,v 1.2 1996/05/22 11:39:20 deraadt Exp $
+ * $Id: cerror.S,v 1.3 1996/06/23 10:08:29 deraadt Exp $
*/
#include "SYS.h"
@@ -46,6 +46,7 @@ cerror:
ldr r1, Lerrno
str r0, [r1]
mvn r0, #0x00000000
+ mvn r1, #0x00000000
mov r15, r14
Lerrno: