summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-04-29 16:12:18 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-04-29 16:12:18 +0000
commitc9990da9b2cda6bffec76f12c8f3eac2d5dcc4dd (patch)
tree93b654da456f320b685ef3b69a9f4bde86a9fd6e
parent1f0767fe053be677a53ad446cb56d1080d584aa8 (diff)
Fix parsing of noac option; noticed and OK by henning@
-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 a5dcc820739..57dec7dccc3 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.29 2002/06/09 08:13:08 todd Exp $ */
+/* $OpenBSD: mount_nfs.c,v 1.30 2003/04/29 16:12:17 millert Exp $ */
/* $NetBSD: mount_nfs.c,v 1.12.4.1 1996/05/25 22:48:05 fvdl Exp $ */
/*
@@ -121,7 +121,7 @@ const struct mntopt mopts[] = {
{ "tcp", 0, ALTF_TCP, 1 },
{ "port", 0, ALTF_PORT, 1 },
{ "nfsv2", 0, ALTF_NFSV2, 1 },
- { "noac", 0, ALTF_NOAC, 1 },
+ { "ac", 1, ALTF_NOAC, 1 },
{ NULL }
};