summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-02-04 02:16:52 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-02-04 02:16:52 +0000
commit353ad9d49ec820f5a35728c0af5ffeada2cb9bfd (patch)
treeeb74bd7ef99d2ef8e03b959895522586813c216d /sys
parent4cb72130da46efb397c528102c1410f3ff45c5b8 (diff)
T_DIVIDE -> FPE_INTDIV
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/i386/trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/trap.c b/sys/arch/i386/i386/trap.c
index da1322b4b69..a7036f0b62e 100644
--- a/sys/arch/i386/i386/trap.c
+++ b/sys/arch/i386/i386/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.16 1997/02/03 17:35:09 deraadt Exp $ */
+/* $OpenBSD: trap.c,v 1.17 1997/02/04 02:16:51 deraadt Exp $ */
/* $NetBSD: trap.c,v 1.95 1996/05/05 06:50:02 mycroft Exp $ */
#undef DEBUG
@@ -333,7 +333,7 @@ trap(frame)
trapsignal(p, SIGFPE, type &~ T_USER, FPE_FLTOVF, (caddr_t)rcr2());
goto out;
case T_DIVIDE|T_USER:
- trapsignal(p, SIGFPE, type &~ T_USER, FPE_FLTDIV, (caddr_t)rcr2());
+ trapsignal(p, SIGFPE, type &~ T_USER, FPE_INTDIV, (caddr_t)rcr2());
goto out;
case T_ARITHTRAP|T_USER: