Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2022 13:32:40 -0700
From:      Benjamin Kaduk <bjkfbsd@gmail.com>
To:        Jens Schweikhardt <schweikh@freebsd.org>
Cc:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org,  dev-commits-src-main@freebsd.org
Subject:   Re: git: e9e615c88a74 - main - Fix dead references (wrong section) to sysctl(8).
Message-ID:  <CAJ5_RoC-unaagNp3-_sPReNNoqz=AEf1GYQBSB2WknB6K4NFtg@mail.gmail.com>
In-Reply-To: <202209161802.28GI2YEi050700@gitrepo.freebsd.org>
References:  <202209161802.28GI2YEi050700@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000001bde3f05e8d1449f
Content-Type: text/plain; charset="UTF-8"

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

--0000000000001bde3f05e8d1449f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">On Fri, Sep 16, 2022 at 11:02 AM Jens Sch=
weikhardt &lt;<a href=3D"mailto:schweikh@freebsd.org">schweikh@freebsd.org<=
/a>&gt; wrote:<br></div><div class=3D"gmail_quote"><blockquote class=3D"gma=
il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,2=
04,204);padding-left:1ex">The branch main has been updated by schweikh:<br>
<br>
URL: <a href=3D"https://cgit.FreeBSD.org/src/commit/?id=3De9e615c88a7475872=
92ea38088ce8bf2f7da4792" rel=3D"noreferrer" target=3D"_blank">https://cgit.=
FreeBSD.org/src/commit/?id=3De9e615c88a747587292ea38088ce8bf2f7da4792</a><b=
r>
<br>
commit e9e615c88a747587292ea38088ce8bf2f7da4792<br>
Author:=C2=A0 =C2=A0 =C2=A0Jens Schweikhardt &lt;schweikh@FreeBSD.org&gt;<b=
r>
AuthorDate: 2022-09-16 18:00:49 +0000<br>
Commit:=C2=A0 =C2=A0 =C2=A0Jens Schweikhardt &lt;schweikh@FreeBSD.org&gt;<b=
r>
CommitDate: 2022-09-16 18:00:49 +0000<br>
<br>
=C2=A0 =C2=A0 Fix dead references (wrong section) to sysctl(8).<br>
---<br>
=C2=A0lib/libc/sys/thr_new.2=C2=A0 | 6 +++---<br>
=C2=A0share/man/man4/iichid.4 | 2 +-<br>
=C2=A0usr.sbin/nfsd/pnfs.4=C2=A0 =C2=A0 | 2 +-<br>
=C2=A03 files changed, 5 insertions(+), 5 deletions(-)<br>
<br>
diff --git a/lib/libc/sys/thr_new.2 b/lib/libc/sys/thr_new.2<br>
index 5516dd1ae4ac..1ef4b8175c77 100644<br>
--- a/lib/libc/sys/thr_new.2<br>
+++ b/lib/libc/sys/thr_new.2<br>
@@ -213,11 +213,11 @@ scheduling policy.<br>
=C2=A0Creation of the new thread would exceed the<br>
=C2=A0.Dv RACCT_NTHR<br>
=C2=A0limit, see<br>
-.Xr racct 2 .<br>
+.Xr rctl_get_racct 2 .<br>
=C2=A0.It Bq Er EPROCLIM<br>
=C2=A0Creation of the new thread would exceed the<br>
=C2=A0.Dv kern.threads.max_threads_per_proc<br>
-.Xr sysctl 2<br>
+.Xr sysctl 8<br><br></blockquote><div><br></div><div>sysctl(3) might be a =
more natural analogue than sysctl(8) if the original is sysctl(2).</div><di=
v><br></div><div>-Ben=C2=A0</div></div></div>

--0000000000001bde3f05e8d1449f--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ5_RoC-unaagNp3-_sPReNNoqz=AEf1GYQBSB2WknB6K4NFtg>