summaryrefslogtreecommitdiff
path: root/sys/kern/subr_prf.c
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2003-05-29 14:41:54 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2003-05-29 14:41:54 +0000
commit1b96f160727cb5c909f2e158ac85a32d1767c0bc (patch)
treedae25f66e622d5874a166e7c19b5e83bc6d34ab8 /sys/kern/subr_prf.c
parent0fbda3d9183ad0930f77548db44b4c2ce08f34b3 (diff)
Add kern.splassert=3. deraadt@ ok.
Diffstat (limited to 'sys/kern/subr_prf.c')
-rw-r--r--sys/kern/subr_prf.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c
index bc1b60e9355..7294ec862ee 100644
--- a/sys/kern/subr_prf.c
+++ b/sys/kern/subr_prf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_prf.c,v 1.53 2003/05/27 21:03:49 henning Exp $ */
+/* $OpenBSD: subr_prf.c,v 1.54 2003/05/29 14:41:53 ho Exp $ */
/* $NetBSD: subr_prf.c,v 1.45 1997/10/24 18:14:25 chuck Exp $ */
/*-
@@ -242,6 +242,12 @@ splassert_fail(int wantipl, int haveipl, const char *func)
db_stack_dump();
#endif
break;
+ case 3:
+#ifdef DDB
+ db_stack_dump();
+ Debugger();
+#endif
+ break;
default:
panic("spl assertion failure in %s", func);
}