git: 43d29dceeabe - stable/13 - vfs_getopt(9): fix typo
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 28 Jun 2024 18:59:42 UTC
The branch stable/13 has been updated by asomers:
URL: https://cgit.FreeBSD.org/src/commit/?id=43d29dceeabe26f01fb449ec8fe5270302f7a8d1
commit 43d29dceeabe26f01fb449ec8fe5270302f7a8d1
Author: Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2024-05-19 15:49:03 +0000
Commit: Alan Somers <asomers@FreeBSD.org>
CommitDate: 2024-06-28 18:56:11 +0000
vfs_getopt(9): fix typo
[skip ci]
Reported by: Claudiu <mscotty@protomail.ch>
(cherry picked from commit 3cc1b35bc1bdcdee279b3ee7d0e0946b684df898)
---
share/man/man9/vfs_getopt.9 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/share/man/man9/vfs_getopt.9 b/share/man/man9/vfs_getopt.9
index 0e68655f540f..ff0f027314c7 100644
--- a/share/man/man9/vfs_getopt.9
+++ b/share/man/man9/vfs_getopt.9
@@ -24,7 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
.\" DAMAGE.
.\"
-.Dd July 31, 2011
+.Dd May 19, 2024
.Dt VFS_GETOPT 9
.Os
.Sh NAME
@@ -46,7 +46,7 @@
.Fa "struct vfsoptlist *opts" "const char *name" "void **buf" "int *len"
.Fc
.Ft "char *"
-.Fn vfs_getops "struct vfsoptlist *opts" "const char *name" "int *error"
+.Fn vfs_getopts "struct vfsoptlist *opts" "const char *name" "int *error"
.Ft int
.Fo vfs_flagopt
.Fa "struct vfsoptlist *opts" "const char *name" "uint64_t *flags" "uint64_t flag"
@@ -177,7 +177,7 @@ function returns 0 if the option was found; otherwise,
is returned.
.Pp
The
-.Fn vfs_getops
+.Fn vfs_getopts
function returns the specified option if it is found, and is
.Dv NUL
terminated.