summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-05-09 09:46:50 +0000
committerpeter <peter@FreeBSD.org>1997-05-09 09:46:50 +0000
commit3aeabf927cf67260cc22043468f3a176ee937600 (patch)
treeb01a4ca8abffc18e429807b32145fa5b03b548a3
parent1220396e43b34baea1e519846cf22e2419e2cf03 (diff)
downloadFreeBSD-src-3aeabf927cf67260cc22043468f3a176ee937600.zip
FreeBSD-src-3aeabf927cf67260cc22043468f3a176ee937600.tar.gz
Fatal trap 13: Brain fault, commit botched.
Current task: transcribing patch Time: for a coffee Faulting address: bde
-rw-r--r--sys/i386/i386/math_emulate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/i386/math_emulate.c b/sys/i386/i386/math_emulate.c
index 3a5769e..dcb2060 100644
--- a/sys/i386/i386/math_emulate.c
+++ b/sys/i386/i386/math_emulate.c
@@ -6,7 +6,7 @@
* [expediant "port" of linux 8087 emulator to 386BSD, with apologies -wfj]
*
* from: 386BSD 0.1
- * $Id: math_emulate.c,v 1.21 1997/02/22 09:32:30 peter Exp $
+ * $Id: math_emulate.c,v 1.22 1997/05/09 04:02:58 peter Exp $
*/
/*
@@ -613,7 +613,7 @@ static int __regoffset[] = {
tEAX, tECX, tEDX, tEBX, tESP, tEBP, tESI, tEDI
};
-#define REG(x) ((int *)(curproc->p_md.md_regs[__regoffset[(x)]]))
+#define REG(x) (((int *)curproc->p_md.md_regs)[__regoffset[(x)]])
static char *
sib(struct trapframe * info, int mod)
OpenPOWER on IntegriCloud