summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_prf.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-03-23 21:23:43 +0000
committerjkh <jkh@FreeBSD.org>1996-03-23 21:23:43 +0000
commit78a7a152d0202d6f1151e96d289ea70df5bdaf6f (patch)
tree083b52555821da0b9e8a0a1ae2e110386bbc1159 /sys/kern/subr_prf.c
parentf18ab3bef12e342d960b1da0af10108dbbe9208c (diff)
downloadFreeBSD-src-78a7a152d0202d6f1151e96d289ea70df5bdaf6f.zip
FreeBSD-src-78a7a152d0202d6f1151e96d289ea70df5bdaf6f.tar.gz
Fix bogus last commit - debugger_on_panic was referenced even when
not defined. Another change clearly committed without testing! :-(
Diffstat (limited to 'sys/kern/subr_prf.c')
-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 eb43356..04ee7d1 100644
--- a/sys/kern/subr_prf.c
+++ b/sys/kern/subr_prf.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)subr_prf.c 8.3 (Berkeley) 1/21/94
- * $Id: subr_prf.c,v 1.30 1996/02/28 21:42:15 gpalmer Exp $
+ * $Id: subr_prf.c,v 1.31 1996/03/23 11:31:16 phk Exp $
*/
#include "opt_ddb.h"
@@ -120,8 +120,8 @@ panic(const char *fmt, ...)
va_end(ap);
printf("\n");
- if (debugger_on_panic) {
#ifdef KGDB
+ if (debugger_on_panic) {
kgdb_panic();
#endif
#ifdef DDB
OpenPOWER on IntegriCloud