fix a fpe trapsignal to provide proper type
authorderaadt <deraadt@openbsd.org>
Mon, 3 Feb 1997 18:04:48 +0000 (18:04 +0000)
committerderaadt <deraadt@openbsd.org>
Mon, 3 Feb 1997 18:04:48 +0000 (18:04 +0000)
sys/arch/sparc/sparc/trap.c

index 19a328d..972e848 100644 (file)
@@ -504,7 +504,7 @@ badtrap:
 
        case T_DIV0:
                ADVANCE;
-               trapsignal(p, SIGFPE, 0, FPE_INTDIV_TRAP, (caddr_t)pc);
+               trapsignal(p, SIGFPE, 0, FPE_INTDIV, (caddr_t)pc);
                break;
 
        case T_FLUSHWIN: