summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>1998-08-16 11:27:19 +0000
committerdes <des@FreeBSD.org>1998-08-16 11:27:19 +0000
commit62d97a08f15747cbfca4ebe9bac6b8ba2f9f1c9f (patch)
tree993f38fdaa3fbde7dcf6fead22f824c69663186b
parent7259d16a8d45a6fbfd72c2d5c19279873bd1dd05 (diff)
downloadFreeBSD-src-62d97a08f15747cbfca4ebe9bac6b8ba2f9f1c9f.zip
FreeBSD-src-62d97a08f15747cbfca4ebe9bac6b8ba2f9f1c9f.tar.gz
Enable kernel dumps on SLICE systems.
-rw-r--r--sys/kern/kern_shutdown.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c
index bf4bd33..2bd4e5e 100644
--- a/sys/kern/kern_shutdown.c
+++ b/sys/kern/kern_shutdown.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_shutdown.c 8.3 (Berkeley) 1/21/94
- * $Id: kern_shutdown.c,v 1.33 1998/06/07 17:11:35 dfr Exp $
+ * $Id: kern_shutdown.c,v 1.34 1998/07/11 07:45:41 bde Exp $
*/
#include "opt_ddb.h"
@@ -354,8 +354,10 @@ dumpsys(void)
return;
if (dumpdev == NODEV)
return;
+#ifndef SLICE
if ((minor(dumpdev)&07) != 1)
return;
+#endif /* !SLICE */
if (!(bdevsw[major(dumpdev)]))
return;
if (!(bdevsw[major(dumpdev)]->d_dump))
OpenPOWER on IntegriCloud