summaryrefslogtreecommitdiffstats
path: root/sbin/mount/getmntopts.3
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2008-02-17 20:25:25 +0000
committeryar <yar@FreeBSD.org>2008-02-17 20:25:25 +0000
commitec7591cdfba87075a87c7feffd8dfa71dbfbca60 (patch)
tree5c7c0a14ae84c0d316a8248c9d55877934acd93d /sbin/mount/getmntopts.3
parent2bc29a153085cdb6c0bff364cf46b376668f0c46 (diff)
downloadFreeBSD-src-ec7591cdfba87075a87c7feffd8dfa71dbfbca60.zip
FreeBSD-src-ec7591cdfba87075a87c7feffd8dfa71dbfbca60.tar.gz
Correct the description of getmnt_silent: unknown options are silently
ignored if this variable is non-zero, which is quite logical given the variable's name.
Diffstat (limited to 'sbin/mount/getmntopts.3')
-rw-r--r--sbin/mount/getmntopts.35
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/mount/getmntopts.3 b/sbin/mount/getmntopts.3
index b9022d9..b8380ad 100644
--- a/sbin/mount/getmntopts.3
+++ b/sbin/mount/getmntopts.3
@@ -28,7 +28,7 @@
.\" @(#)getmntopts.3 8.3 (Berkeley) 3/30/95
.\" $FreeBSD$
.\"
-.Dd March 30, 1995
+.Dd February 17, 2008
.Dt GETMNTOPTS 3
.Os
.Sh NAME
@@ -163,10 +163,11 @@ struct mntopt mopts[] = {
.Sh DIAGNOSTICS
If the external integer variable
.Va getmnt_silent
-is non-zero then the
+is zero, then the
.Fn getmntopts
function displays an error message and exits if an
unrecognized option is encountered.
+Otherwise unrecognized options are silently ignored.
By default
.Va getmnt_silent
is zero.
OpenPOWER on IntegriCloud