summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_shutdown.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-03-31 07:15:28 +0000
committerphk <phk@FreeBSD.org>2002-03-31 07:15:28 +0000
commit87273d930a6c572f75181ce7909a0f79412b5d34 (patch)
treeb184e80d0d3aa272ed94712890ccd434b7f378f3 /sys/kern/kern_shutdown.c
parentaa2c17836eb806e15dd98aa23cbacb169aa21c6a (diff)
downloadFreeBSD-src-87273d930a6c572f75181ce7909a0f79412b5d34.zip
FreeBSD-src-87273d930a6c572f75181ce7909a0f79412b5d34.tar.gz
Centralize the "bootdev" and "dumpdev" variables. They are still pretty
bogus all things considered, but at least now they don't camouflage as being MD variables.
Diffstat (limited to 'sys/kern/kern_shutdown.c')
-rw-r--r--sys/kern/kern_shutdown.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c
index 1249391..80cb9e6 100644
--- a/sys/kern/kern_shutdown.c
+++ b/sys/kern/kern_shutdown.c
@@ -117,6 +117,7 @@ watchdog_tickle_fn wdog_tickler = NULL;
const char *panicstr;
int dumping; /* system is dumping */
+dev_t dumpdev = NODEV;
static void boot(int) __dead2;
static void dumpsys(void);
OpenPOWER on IntegriCloud