summaryrefslogtreecommitdiffstats
path: root/sbin/mount/mntopts.h
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-08-26 05:39:53 +0000
committerdg <dg@FreeBSD.org>1995-08-26 05:39:53 +0000
commitd28bf0579f66a4d927db9ffd520ea05d18d9c56f (patch)
tree14661357918d597c85dcb800dfc6c50545f4d9c6 /sbin/mount/mntopts.h
parentb87f24347cfdd195bc2e0e04f51487eae037c584 (diff)
downloadFreeBSD-src-d28bf0579f66a4d927db9ffd520ea05d18d9c56f.zip
FreeBSD-src-d28bf0579f66a4d927db9ffd520ea05d18d9c56f.tar.gz
The changes for adding the "noauto" option were mostly wrong. MNT_NOAUTO
is a kernel flag, and the kernel definately doesn't need to know about it.
Diffstat (limited to 'sbin/mount/mntopts.h')
-rw-r--r--sbin/mount/mntopts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mount/mntopts.h b/sbin/mount/mntopts.h
index 84e2943..710b557 100644
--- a/sbin/mount/mntopts.h
+++ b/sbin/mount/mntopts.h
@@ -42,7 +42,7 @@ struct mntopt {
/* User-visible MNT_ flags. */
#define MOPT_ASYNC { "async", 0, MNT_ASYNC, 0 }
-#define MOPT_NOAUTO { "auto", 1, MNT_NOAUTO, 0 }
+#define MOPT_NOAUTO { "auto", 1, 0, 0 }
#define MOPT_NODEV { "dev", 1, MNT_NODEV, 0 }
#define MOPT_NOEXEC { "exec", 1, MNT_NOEXEC, 0 }
#define MOPT_NOSUID { "suid", 1, MNT_NOSUID, 0 }
OpenPOWER on IntegriCloud