summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vnconfig/vnconfig.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-03-29 11:01:54 +0000
committerbde <bde@FreeBSD.org>1997-03-29 11:01:54 +0000
commit29f905f3b220182f77ae46f45961e2da5a006c9f (patch)
tree22cf39d1c151840b467461397dd82fbc0188881d /usr.sbin/vnconfig/vnconfig.c
parent2b25d3ca611ecb6ed9c8c3fbef874b1e9dabe46f (diff)
downloadFreeBSD-src-29f905f3b220182f77ae46f45961e2da5a006c9f.zip
FreeBSD-src-29f905f3b220182f77ae46f45961e2da5a006c9f.tar.gz
Use new mount args (mount "ufs" instead of MOUNT_UFS).
vnconfig doesn't seem to be in Lite2, although dev/vn is. The Lite2 merge in userland has converted all mount calls except this one and one for devfs in init, so we can drop support for old mount args soon. Vnconfig probably shouldn't support mounting - it only supports ufs.
Diffstat (limited to 'usr.sbin/vnconfig/vnconfig.c')
-rw-r--r--usr.sbin/vnconfig/vnconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/vnconfig/vnconfig.c b/usr.sbin/vnconfig/vnconfig.c
index 219e1da..7538a71 100644
--- a/usr.sbin/vnconfig/vnconfig.c
+++ b/usr.sbin/vnconfig/vnconfig.c
@@ -314,7 +314,7 @@ config(vnp)
args.fspec = dev;
mflags = (flags & VN_MOUNTRO) ? MNT_RDONLY : 0;
- rv = mount(MOUNT_UFS, oarg, mflags, &args);
+ rv = mount("ufs", oarg, mflags, &args);
if (rv)
perror("mount");
else if (verbose)
OpenPOWER on IntegriCloud