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.
This commit is contained in:
parent
1945c7bd47
commit
4ffb7f518d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176370
@ -28,7 +28,7 @@
|
|||||||
.\" @(#)getmntopts.3 8.3 (Berkeley) 3/30/95
|
.\" @(#)getmntopts.3 8.3 (Berkeley) 3/30/95
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd March 30, 1995
|
.Dd February 17, 2008
|
||||||
.Dt GETMNTOPTS 3
|
.Dt GETMNTOPTS 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -163,10 +163,11 @@ struct mntopt mopts[] = {
|
|||||||
.Sh DIAGNOSTICS
|
.Sh DIAGNOSTICS
|
||||||
If the external integer variable
|
If the external integer variable
|
||||||
.Va getmnt_silent
|
.Va getmnt_silent
|
||||||
is non-zero then the
|
is zero, then the
|
||||||
.Fn getmntopts
|
.Fn getmntopts
|
||||||
function displays an error message and exits if an
|
function displays an error message and exits if an
|
||||||
unrecognized option is encountered.
|
unrecognized option is encountered.
|
||||||
|
Otherwise unrecognized options are silently ignored.
|
||||||
By default
|
By default
|
||||||
.Va getmnt_silent
|
.Va getmnt_silent
|
||||||
is zero.
|
is zero.
|
||||||
|
Loading…
Reference in New Issue
Block a user