summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim/trap.c
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2004-08-02 02:37:29 +0000
committergrehan <grehan@FreeBSD.org>2004-08-02 02:37:29 +0000
commitcdfd234759c5a3a47d112eee28cf01790a241e2e (patch)
tree29675adf1fe9a718f3f2c02ec4738b6966f427a0 /sys/powerpc/aim/trap.c
parent638b63391df587de4ce3c26245eafca04452246f (diff)
downloadFreeBSD-src-cdfd234759c5a3a47d112eee28cf01790a241e2e.zip
FreeBSD-src-cdfd234759c5a3a47d112eee28cf01790a241e2e.tar.gz
Kernel traps were not being passed to trap_fatal in some
circumstances. Spotted by: gallatin
Diffstat (limited to 'sys/powerpc/aim/trap.c')
-rw-r--r--sys/powerpc/aim/trap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/powerpc/aim/trap.c b/sys/powerpc/aim/trap.c
index 621f187..2b4a749 100644
--- a/sys/powerpc/aim/trap.c
+++ b/sys/powerpc/aim/trap.c
@@ -237,8 +237,9 @@ trap(struct trapframe *frame)
return;
break;
default:
- trap_fatal(frame);
+ break;
}
+ trap_fatal(frame);
}
#ifdef ALTIVEC
OpenPOWER on IntegriCloud