diff options
Diffstat (limited to 'sbin/mount_kernfs/mount_kernfs.c')
-rw-r--r-- | sbin/mount_kernfs/mount_kernfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/mount_kernfs/mount_kernfs.c b/sbin/mount_kernfs/mount_kernfs.c index 33a6b5e..69fcb77 100644 --- a/sbin/mount_kernfs/mount_kernfs.c +++ b/sbin/mount_kernfs/mount_kernfs.c @@ -42,7 +42,7 @@ char copyright[] = #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)mount_kernfs.c 8.2 (Berkeley) 3/27/94"; +static char sccsid[] = "@(#)mount_kernfs.c 8.3 (Berkeley) 5/4/95"; #endif /* not lint */ #include <sys/param.h> @@ -74,7 +74,7 @@ main(argc, argv) while ((ch = getopt(argc, argv, "o:")) != EOF) switch (ch) { case 'o': - getmntopts(optarg, mopts, &mntflags); + getmntopts(optarg, mopts, &mntflags, 0); break; case '?': default: @@ -86,7 +86,7 @@ main(argc, argv) if (argc != 2) usage(); - if (mount(MOUNT_KERNFS, argv[1], mntflags, NULL)) + if (mount("kernfs", argv[1], mntflags, NULL)) err(1, NULL); exit(0); } |