aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorGreg Lehey <grog@FreeBSD.org>2002-12-13 00:27:32 +0000
committerGreg Lehey <grog@FreeBSD.org>2002-12-13 00:27:32 +0000
commit0538c676cc8b2f06524d96e102065b0bd7d9e23f (patch)
tree7f0d289444addad14359306b78c9f8b8a6902784 /sys
parent67cf4c38dc7b2deb21905f0260cc16b8c961875a (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/vinum/vinumconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vinum/vinumconfig.c b/sys/dev/vinum/vinumconfig.c
index 743068f3362d..e21fb799f550 100644
--- a/sys/dev/vinum/vinumconfig.c
+++ b/sys/dev/vinum/vinumconfig.c
@@ -1231,7 +1231,7 @@ config_subdisk(int update)
throw_rude_remark(EINVAL, "sd %s has no length spec", sd->name);
if (sd->dev == NULL)
- sd->dev = make_dev(&vinum_cdevsw, VINUMRMINOR(sdno, VINUM_SD_TYPE),
+ sd->dev = make_dev(&vinum_cdevsw, VINUMRMINOR(sdno, VINUM_RAWSD_TYPE),
UID_ROOT,
GID_WHEEL,
S_IRUSR | S_IWUSR,
@@ -1426,7 +1426,7 @@ config_plex(int update)
vinum_conf.plexes_used++; /* one more in use */
if (plex->dev == NULL)
plex->dev = make_dev(&vinum_cdevsw,
- VINUMRMINOR(plexno, VINUM_PLEX_TYPE),
+ VINUMRMINOR(plexno, VINUM_RAWPLEX_TYPE),
UID_ROOT,
GID_WHEEL,
S_IRUSR | S_IWUSR,