diff options
author | 2012-02-26 17:41:50 +0000 | |
---|---|---|
committer | 2012-02-26 17:41:50 +0000 | |
commit | 74f3a74c0ecf04582acb4fc0b2aaabae7e68f5c8 (patch) | |
tree | 9b53306529afab0c70761b50c70e757ba5dc605d | |
parent | rather than driving the card with 16k intr/s of low latency interrupts, (diff) | |
download | wireguard-openbsd-74f3a74c0ecf04582acb4fc0b2aaabae7e68f5c8.tar.xz wireguard-openbsd-74f3a74c0ecf04582acb4fc0b2aaabae7e68f5c8.zip |
__cerror gets invoked with errno in v0, not a0.
-rw-r--r-- | lib/librthread/arch/mips64/cerror.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librthread/arch/mips64/cerror.S b/lib/librthread/arch/mips64/cerror.S index b24be16d6ce..0e46796953b 100644 --- a/lib/librthread/arch/mips64/cerror.S +++ b/lib/librthread/arch/mips64/cerror.S @@ -1,4 +1,4 @@ -/* $OpenBSD: cerror.S,v 1.1 2012/02/17 18:02:18 miod Exp $ */ +/* $OpenBSD: cerror.S,v 1.2 2012/02/26 17:41:50 miod Exp $ */ /*- * Copyright (c) 1991, 1993 * The Regents of the University of California. All rights reserved. @@ -46,7 +46,7 @@ NON_LEAF(__cerror, FRAMESZ, ra) REG_S ra, RAOFF(sp) REG_S s0, S0OFF(sp) - move s0, a0 + move s0, v0 jal _C_LABEL(__errno) sw s0, 0(v0) |