* [PATCH] man/man3/pthread_cond_init.3: Fix name of mutex unlock function
@ 2026-03-22 11:09 Christoph Erhardt
2026-03-22 22:10 ` Alejandro Colomar
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Erhardt @ 2026-03-22 11:09 UTC (permalink / raw)
To: Alejandro Colomar; +Cc: linux-man
[-- Attachment #1.1: Type: text/plain, Size: 156 bytes --]
Dear maintainers,
please find attached a small patch for the `pthread_cond_init.3` man page that
fixes a typo in a function name.
Best regards,
Christoph
[-- Attachment #1.2: 0001-man-man3-pthread_cond_init.3-Fix-name-of-mutex-unloc.patch --]
[-- Type: text/x-patch, Size: 910 bytes --]
From b3d0b98ff055fb8bf2482430582ef1344e5b34dc Mon Sep 17 00:00:00 2001
From: Christoph Erhardt <fedora@sicherha.de>
Date: Wed, 18 Mar 2026 10:37:39 +0100
Subject: [PATCH] man/man3/pthread_cond_init.3: Fix name of mutex unlock
function
The typo has existed since this man page was introduced with commit
31b1e42d557400b04c92701d8a37b518fb429462.
Signed-off-by: Christoph Erhardt <fedora@sicherha.de>
---
man/man3/pthread_cond_init.3 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man/man3/pthread_cond_init.3 b/man/man3/pthread_cond_init.3
index 88600b3a5..3aac94c3d 100644
--- a/man/man3/pthread_cond_init.3
+++ b/man/man3/pthread_cond_init.3
@@ -91,7 +91,7 @@ Nothing happens if no threads are waiting on
atomically unlocks the
.I mutex
(as per
-.BR pthread_unlock_mutex ())
+.BR pthread_mutex_unlock ())
and waits for the condition variable
.I cond
to be signaled.
--
2.53.0
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-22 22:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-22 11:09 [PATCH] man/man3/pthread_cond_init.3: Fix name of mutex unlock function Christoph Erhardt
2026-03-22 22:10 ` Alejandro Colomar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox