summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-08-23 20:32:21 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-08-23 20:32:21 +0000
commit1432aa0c5eb7f8f2f6c00aaa992f71d931006e91 (patch)
treeeb02f1d61fe71a6ec8e8fa4fd35a2552a741e661 /sys/kern
parent86df99e49eff99b122b607a16766e68bb1faa027 (diff)
Notes
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_shutdown.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c
index 3b83723cc633..1afa80fb0077 100644
--- a/sys/kern/kern_shutdown.c
+++ b/sys/kern/kern_shutdown.c
@@ -610,6 +610,7 @@ panic(const char *fmt, ...)
#if defined(DDB)
if (debugger_on_panic)
Debugger ("panic");
+#ifdef RESTARTABLE_PANICS
/* See if the user aborted the panic, in which case we continue. */
if (panicstr == NULL) {
#ifdef SMP
@@ -618,6 +619,7 @@ panic(const char *fmt, ...)
return;
}
#endif
+#endif
boot(bootopt);
}