summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-12-25 13:36:08 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-12-25 13:36:08 +0000
commit43d734907aff3b74cc5e3c465ffa94a88ffe67b1 (patch)
treeabd7d47672586e0d7e247411b2945a50e984062f /sys
parentbb6073a02c3ca6d1cd5614958b2ae735a3ebe776 (diff)
Missing pointer initialization for int/nint/trnc exceptions.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/m88k/fpu/m88110_fp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/m88k/fpu/m88110_fp.c b/sys/arch/m88k/fpu/m88110_fp.c
index 7ab7e8314a4..0c3405637d6 100644
--- a/sys/arch/m88k/fpu/m88110_fp.c
+++ b/sys/arch/m88k/fpu/m88110_fp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: m88110_fp.c,v 1.2 2007/12/25 01:12:36 miod Exp $ */
+/* $OpenBSD: m88110_fp.c,v 1.3 2007/12/25 13:36:07 miod Exp $ */
/*
* Copyright (c) 2007, Miodrag Vallat.
@@ -346,6 +346,7 @@ fpu_emulate(struct trapframe *frame, u_int32_t insn)
case 0x09: /* int */
do_int:
fpu_explode(&fe, &fe.fe_f1, t2, rs2);
+ fp = &fe.fe_f1;
td = FTYPE_INT;
break;
case 0x0a: /* nint */