summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-02-27 22:46:33 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-02-27 22:46:33 +0000
commitaa48469d42f903a47e21fbd28186eead57fa58dd (patch)
tree6afb54e3de136d0ebbd26d53a61588d924bb1504 /sys
parentf96396f4809801c6a2c6cac49790b3bbe1c079bc (diff)
nicer panic; kettenis ok
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/sparc64/trap.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/sparc64/sparc64/trap.c b/sys/arch/sparc64/sparc64/trap.c
index 98dc2c6a14d..00e590f3c32 100644
--- a/sys/arch/sparc64/sparc64/trap.c
+++ b/sys/arch/sparc64/sparc64/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.45 2006/12/24 20:30:35 miod Exp $ */
+/* $OpenBSD: trap.c,v 1.46 2007/02/27 22:46:32 deraadt Exp $ */
/* $NetBSD: trap.c,v 1.73 2001/08/09 01:03:01 eeh Exp $ */
/*
@@ -974,9 +974,8 @@ data_access_error(tf, type, afva, afsr, sfva, sfsr)
trap_trace_dis = 1; /* Disable traptrace for printf */
(void) splhigh();
- printf("data fault: pc=%lx addr=%lx sfsr=%b\n",
+ panic("data fault: pc=%lx addr=%lx sfsr=%b\n",
(u_long)pc, (long)sfva, sfsr, SFSR_BITS);
- panic("kernel fault");
/* NOTREACHED */
}