git: e9e615c88a74 - main - Fix dead references (wrong section) to sysctl(8).
Date: Fri, 16 Sep 2022 18:02:34 UTC
The branch main has been updated by schweikh:
URL: https://cgit.FreeBSD.org/src/commit/?id=e9e615c88a747587292ea38088ce8bf2f7da4792
commit e9e615c88a747587292ea38088ce8bf2f7da4792
Author: Jens Schweikhardt <schweikh@FreeBSD.org>
AuthorDate: 2022-09-16 18:00:49 +0000
Commit: Jens Schweikhardt <schweikh@FreeBSD.org>
CommitDate: 2022-09-16 18:00:49 +0000
Fix dead references (wrong section) to sysctl(8).
---
lib/libc/sys/thr_new.2 | 6 +++---
share/man/man4/iichid.4 | 2 +-
usr.sbin/nfsd/pnfs.4 | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/libc/sys/thr_new.2 b/lib/libc/sys/thr_new.2
index 5516dd1ae4ac..1ef4b8175c77 100644
--- a/lib/libc/sys/thr_new.2
+++ b/lib/libc/sys/thr_new.2
@@ -213,11 +213,11 @@ scheduling policy.
Creation of the new thread would exceed the
.Dv RACCT_NTHR
limit, see
-.Xr racct 2 .
+.Xr rctl_get_racct 2 .
.It Bq Er EPROCLIM
Creation of the new thread would exceed the
.Dv kern.threads.max_threads_per_proc
-.Xr sysctl 2
+.Xr sysctl 8
limit.
.It Bq Er ENOMEM
There was not enough kernel memory to allocate the new thread structures.
@@ -226,7 +226,7 @@ There was not enough kernel memory to allocate the new thread structures.
.Xr ps 1 ,
.Xr _umtx_op 2 ,
.Xr execve 2 ,
-.Xr racct 2 ,
+.Xr rctl_get_racct 2 ,
.Xr thr_exit 2 ,
.Xr thr_kill 2 ,
.Xr thr_kill2 2 ,
diff --git a/share/man/man4/iichid.4 b/share/man/man4/iichid.4
index 526a6f444440..1bd75c2db883 100644
--- a/share/man/man4/iichid.4
+++ b/share/man/man4/iichid.4
@@ -76,7 +76,7 @@ In that case
.Nm
enables sampling mode with periodic polling of hardware by driver means.
See dev.iichid.*.sampling_*
-.Xr sysctl 4
+.Xr sysctl 8
variables for tuning of sampling parameters.
.Sh HISTORY
The
diff --git a/usr.sbin/nfsd/pnfs.4 b/usr.sbin/nfsd/pnfs.4
index 94fe02536ba1..86838d94bc76 100644
--- a/usr.sbin/nfsd/pnfs.4
+++ b/usr.sbin/nfsd/pnfs.4
@@ -117,7 +117,7 @@ For a non-mirrored configuration, the
server will issue File Layout
layouts by default.
However that default can be set to the Flexible File Layout by setting the
-.Xr sysctl 1
+.Xr sysctl 8
sysctl
.Dq vfs.nfsd.default_flexfile
to one.