summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_mount.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/vfs_mount.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/vfs_mount.c')
-rw-r--r--sys/kern/vfs_mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index 0f1ab00..2e5360a5 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -94,6 +94,7 @@ static void gets(char *cp);
/* legacy find-root code */
char *rootdevnames[2] = {NULL, NULL};
static int setrootbyname(char *name);
+dev_t rootdev = NODEV;
/*
* Find and mount the root filesystem
OpenPOWER on IntegriCloud