aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/vnconfig
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-03-29 11:01:54 +0000
committerBruce Evans <bde@FreeBSD.org>1997-03-29 11:01:54 +0000
commit958a83b970e71974abb5030cc54902ace655d5ce (patch)
treec5d25376e285c279654475eaf95da4487ebd56b4 /usr.sbin/vnconfig
parentd30ea4f53b072011b3d189f78467c9abe9abe0fd (diff)
downloadsrc-958a83b970e71974abb5030cc54902ace655d5ce.tar.gz
src-958a83b970e71974abb5030cc54902ace655d5ce.zip
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.
Notes
Notes: svn path=/head/; revision=24371
Diffstat (limited to 'usr.sbin/vnconfig')
-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 219e1da84970..7538a71be710 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)