diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-14 02:26:33 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-14 02:26:33 +0000 |
commit | e8ba9fab8a4788af1a7a004979db6361b6d117ef (patch) | |
tree | bf2b9b710a834a90c442f1106bd65d5c9f00b401 /lib/libc/arch | |
parent | 7cb08c3a55b48e9e373ce4c55b186c3106c2d98e (diff) |
from netbsd:
Didn't take care of errors when return parameter was long long.
Bug pointed out by Arne Henrik Juul.
Diffstat (limited to 'lib/libc/arch')
-rw-r--r-- | lib/libc/arch/vax/sys/cerror.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/arch/vax/sys/cerror.S b/lib/libc/arch/vax/sys/cerror.S index 18f50f8e46e..0adb50876ba 100644 --- a/lib/libc/arch/vax/sys/cerror.S +++ b/lib/libc/arch/vax/sys/cerror.S @@ -33,7 +33,7 @@ #if defined(SYSLIBC_SCCS) && !defined(lint) /* .asciz "@(#)cerror.s 8.1 (Berkeley) 6/4/93" */ - .asciz "$NetBSD: cerror.S,v 1.1 1995/04/17 12:23:59 ragge Exp $" + .asciz "$NetBSD: cerror.S,v 1.2 1995/12/04 21:52:44 ragge Exp $" #endif /* SYSLIBC_SCCS and not lint */ #include "SYS.h" @@ -42,4 +42,5 @@ cerror: movl r0,_errno mnegl $1,r0 + mnegl $1,r1 ret |