Re: git: e9e615c88a74 - main - Fix dead references (wrong section) to sysctl(8).

From: Benjamin Kaduk <bjkfbsd_at_gmail.com>
Date: Fri, 16 Sep 2022 20:32:40 UTC
On Fri, Sep 16, 2022 at 11:02 AM Jens Schweikhardt <schweikh@freebsd.org>
wrote:

> 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
>
>
sysctl(3) might be a more natural analogue than sysctl(8) if the original
is sysctl(2).

-Ben