summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-09-15 07:10:33 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-09-15 07:10:33 +0000
commit0041160b94cf3ec0be414991651a964bff99b871 (patch)
treefee94333ad4cc26e63dbda59a72d5a1053de3f7e
parentf57fe2127001d0f4a8282ce1607848828f45ae63 (diff)
Restore correct noac option parsing.
ok otto@
-rw-r--r--sbin/mount_nfs/mount_nfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/mount_nfs/mount_nfs.c b/sbin/mount_nfs/mount_nfs.c
index 70312d94e96..0dd1247094d 100644
--- a/sbin/mount_nfs/mount_nfs.c
+++ b/sbin/mount_nfs/mount_nfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount_nfs.c,v 1.41 2004/08/20 07:12:00 otto Exp $ */
+/* $OpenBSD: mount_nfs.c,v 1.42 2004/09/15 07:10:32 miod Exp $ */
/* $NetBSD: mount_nfs.c,v 1.12.4.1 1996/05/25 22:48:05 fvdl Exp $ */
/*
@@ -114,7 +114,7 @@ const struct mntopt mopts[] = {
{ "tcp", ALTF_TCP, 0 },
{ "port", ALTF_PORT, MFLAG_INTVAL },
{ "nfsv2", ALTF_NFSV2, 0 },
- { "ac", ALTF_NOAC, 0 },
+ { "ac", ALTF_NOAC, MFLAG_INVERSE },
{ "acregmin", ALTF_ACREGMIN, MFLAG_INTVAL },
{ "acregmax", ALTF_ACREGMAX, MFLAG_INTVAL },
{ "acdirmin", ALTF_ACDIRMIN, MFLAG_INTVAL },