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

From: Eric van Gyzen <vangyzen_at_FreeBSD.org>
Date: Fri, 14 Aug 2026 21:24:05 UTC
The branch main has been updated by vangyzen:

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

commit 2193da1c4457a76e7182e0bfdadb13cae79d33f8
Author:     Eric van Gyzen <vangyzen@FreeBSD.org>
AuthorDate: 2026-08-14 21:19:01 +0000
Commit:     Eric van Gyzen <vangyzen@FreeBSD.org>
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ć <karlo98.m@gmail.com>
---
 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 ,