[PATCH 14/16] semctl.2: fix wrong section reference

Kir Kolyshkin
2024-06-17T23:11:09Z

> GETPID
> Return the sempid value for the semnum-th semaphore of
> the set. This is the PID of the process that last
> performed an operation on that semaphore (but see NOTES).

Since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS,
HISTORY: Reorganize sections"), this information is in VERSIONS.

Fixes: 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections")
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
---
man/man2/semctl.2 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/man2/semctl.2 b/man/man2/semctl.2
index 243919c73..4dad99ea4 100644
--- a/man/man2/semctl.2
+++ b/man/man2/semctl.2
@@ -317,7 +317,7 @@ .SH DESCRIPTION
.IR semnum \-th
semaphore of the set.
This is the PID of the process that last performed an operation on
-that semaphore (but see NOTES).
+that semaphore (but see VERSIONS).
The calling process must have read permission on the semaphore set.
.TP
.B GETVAL
--
2.45.2