From c8b31033c3971b2b7349804ffda0cea5e4835b40 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Thu, 3 Oct 2024 20:40:23 -0700 Subject: [PATCH] manuals: Misc syntax fixes These were reported by `mandoc -T lint ...` as errors. The rendered output (in ascii and html) is not affected by this commit. Additional clarification: there was a non-breaking space in lib/libcasper/services/cap_grp/cap_grp.3. Signed-off-by: Graham Percival Reviewed by: mhorne MFC after: 3 days Sponsored by: Tarsnap Backup Inc. Pull Request: https://github.com/freebsd/freebsd-src/pull/1449 --- lib/libc/gen/exec.3 | 1 - lib/libcasper/services/cap_grp/cap_grp.3 | 2 +- share/man/man4/iwlwififw.4 | 10 +++++----- share/man/man5/rc.conf.5 | 2 +- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/lib/libc/gen/exec.3 b/lib/libc/gen/exec.3 index ce289ebf502a..41ab18fa89ef 100644 --- a/lib/libc/gen/exec.3 +++ b/lib/libc/gen/exec.3 @@ -49,7 +49,6 @@ .Fn execlp "const char *file" "const char *arg" ... NULL .Ft int .Fn execle "const char *path" "const char *arg" ... NULL "char *const envp[]" -.Fc .Ft int .Fn exect "const char *path" "char *const argv[]" "char *const envp[]" .Ft int diff --git a/lib/libcasper/services/cap_grp/cap_grp.3 b/lib/libcasper/services/cap_grp/cap_grp.3 index 9647b1936b0c..578d8edffbfa 100644 --- a/lib/libcasper/services/cap_grp/cap_grp.3 +++ b/lib/libcasper/services/cap_grp/cap_grp.3 @@ -59,7 +59,7 @@ .Fn cap_getgrgid_r "cap_channel_t *chan" "gid_t gid" "struct group *grp" "char *buffer" "size_t bufsize" "struct group **result" .Ft int .Fn cap_setgroupent "cap_channel_t *chan" "int stayopen" -.Ft int +.Ft int .Fn cap_setgrent "cap_channel_t *chan" .Ft void .Fn cap_endgrent "cap_channel_t *chan" diff --git a/share/man/man4/iwlwififw.4 b/share/man/man4/iwlwififw.4 index a377f6b51f78..debd0cda36b5 100644 --- a/share/man/man4/iwlwififw.4 +++ b/share/man/man4/iwlwififw.4 @@ -46,10 +46,10 @@ driver. .Bl -column -compact "Vendor" "Device" "Subv. " "Subd. " "Firmware-Prefix" .It Ar Name .It Ar Vendor Ta Ar Device Ta Ar Subv. Ta Ar Subd. Ta Ar Firmware-Prefix -.% --------------------------------------------------------------------- -.% This list is manually generated from a sysctl and post-processing. -.% Edits will be overwritten on next update. -.% --------------------------------------------------------------------- +.\" --------------------------------------------------------------------- +.\" This list is manually generated from a sysctl and post-processing. +.\" Edits will be overwritten on next update. +.\" --------------------------------------------------------------------- .It "" .It Intel(R) Dual Band Wireless AC 7260 .It 0x8086 Ta 0x08b1 Ta any Ta 0x4070 Ta iwlwifi-7260 @@ -1340,7 +1340,7 @@ driver. .It "" .It Intel(R) TBD Sc device .It 0x8086 Ta any Ta any Ta any Ta (null) -.% --------------------------------------------------------------------- +.\" --------------------------------------------------------------------- .El .Pp .Em Note: diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index 7d50bd1398e2..2897efffd780 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -5008,7 +5008,7 @@ variable is set to .Dq Li YES , this particular service is started in a service jail named -.Va svcj- Ns Ar name Ac . +.Va svcj- Ns Ar name . The .Va svcj_all_enable