summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-05-18 18:33:43 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-05-18 18:33:43 +0000
commit17255776e924012eecd9c284984570f7661baa2c (patch)
tree5efbe49bb04d75efe6099a1ef662bae8fb8caf53
parent983a20cc8c6aa0454f1f9edfd9fed4b64aa89dcc (diff)
dump the stack on splassert failure (XXX - need some kind of
rate limiting).
-rw-r--r--sys/kern/subr_prf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c
index 1a1fcc106f8..c417e06e494 100644
--- a/sys/kern/subr_prf.c
+++ b/sys/kern/subr_prf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_prf.c,v 1.42 2002/05/18 18:24:21 art Exp $ */
+/* $OpenBSD: subr_prf.c,v 1.43 2002/05/18 18:33:42 art Exp $ */
/* $NetBSD: subr_prf.c,v 1.45 1997/10/24 18:14:25 chuck Exp $ */
/*-
@@ -238,7 +238,7 @@ splassert_fail(int wantipl, int haveipl, const char *func)
panic("spl assertion failure in %s", func);
} else {
#ifdef DDB
- /* Will print stack trace RSN. */
+ db_stack_dump();
#endif
}
}