summaryrefslogtreecommitdiffstats
path: root/sbin/mount_lfs/mount_lfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/mount_lfs/mount_lfs.c')
-rw-r--r--sbin/mount_lfs/mount_lfs.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/mount_lfs/mount_lfs.c b/sbin/mount_lfs/mount_lfs.c
index 374c930..67b7f80 100644
--- a/sbin/mount_lfs/mount_lfs.c
+++ b/sbin/mount_lfs/mount_lfs.c
@@ -38,11 +38,12 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)mount_lfs.c 8.3 (Berkeley) 3/27/94";
+static char sccsid[] = "@(#)mount_lfs.c 8.4 (Berkeley) 4/26/95";
#endif /* not lint */
#include <sys/param.h>
#include <sys/mount.h>
+#include <ufs/ufs/ufsmount.h>
#include <err.h>
#include <stdio.h>
@@ -84,7 +85,7 @@ main(argc, argv)
noclean = 1;
break;
case 'o':
- getmntopts(optarg, mopts, &mntflags);
+ getmntopts(optarg, mopts, &mntflags, 0);
break;
case 's':
short_rds = 1;
@@ -109,7 +110,7 @@ main(argc, argv)
else
args.export.ex_flags = 0;
- if (mount(MOUNT_LFS, fs_name, mntflags, &args))
+ if (mount("lfs", fs_name, mntflags, &args))
err(1, NULL);
if (!noclean)
OpenPOWER on IntegriCloud