git: 2193da1c4457 - main - pthread_create(3): fix dead references to racct(2)

Eric van Gyzen <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a7f8775.1a158.1dfee7a6__6910.35371726088$1786742665$gmane$org@gitrepo.freebsd.org>
The branch main has been updated by vangyzen:

URL: https://cgit.FreeBSD.org/src/commit/?id=2193da1c4457a76e7182e0bfdadb13cae79d33f8

commit 2193da1c4457a76e7182e0bfdadb13cae79d33f8
Author:     Eric van Gyzen <[email protected]>
AuthorDate: 2026-08-14 21:19:01 +0000
Commit:     Eric van Gyzen <[email protected]>
CommitDate: 2026-08-14 21:22:31 +0000

    pthread_create(3): fix dead references to racct(2)
    
    As far as I can tell, racct(2) has never existed, not even when
    I added these references a decade ago.
    
    Change them as commit e9e615c88a74 did in thr_new(2).
    
    Reported by:    Karlo Miličević <[email protected]>
---
 share/man/man3/pthread_create.3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/man/man3/pthread_create.3 b/share/man/man3/pthread_create.3
index 2d43ac7b2ef9..3caaa59ef85d 100644
--- a/share/man/man3/pthread_create.3
+++ b/share/man/man3/pthread_create.3
@@ -111,7 +111,7 @@ would be exceeded.
 The
 .Dv RACCT_NTHR
 limit would be exceeded; see
-.Xr racct 2 .
+.Xr rctl_get_racct 2 .
 .It Bq Er EPERM
 The caller does not have permission to set the scheduling parameters or
 scheduling policy.
@@ -132,7 +132,7 @@ initial data on the stack.
 .Sh SEE ALSO
 .Xr cpuset_setaffinity 2 ,
 .Xr fork 2 ,
-.Xr racct 2 ,
+.Xr rctl_get_racct 2 ,
 .Xr thr_new 2 ,
 .Xr pthread_attr 3 ,
 .Xr pthread_cancel 3 ,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.