Enable kernel dumps on SLICE systems.
This commit is contained in:
parent
9338e8728b
commit
d08b9c139f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38362
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user