All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] man/man2/futex_waitv.2: Fix example compilation
@ 2026-08-13 16:06 André Almeida
  2026-08-22 13:58 ` Alejandro Colomar
  0 siblings, 1 reply; 2+ messages in thread
From: André Almeida @ 2026-08-13 16:06 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: linux-man, nabijaczleweli, André Almeida

The example doesn't compile because it calls the undefined function
my_futex_wait_private(), which should be my_futex_wake_private().

Signed-off-by: André Almeida <andrealmeid@igalia.com>
---
 man/man2/futex_waitv.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/man2/futex_waitv.2 b/man/man2/futex_waitv.2
index 9dfad84ce..4158f297d 100644
--- a/man/man2/futex_waitv.2
+++ b/man/man2/futex_waitv.2
@@ -352,7 +352,7 @@ worker(void *arg)
 \&
 	usleep(*futex * 10000);
 	*futex *= 2;
-	my_futex_wait_private(futex, 1);
+	my_futex_wake_private(futex, 1);
 	return NULL;
 }
 \&
-- 
2.55.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-22 13:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-13 16:06 [PATCH] man/man2/futex_waitv.2: Fix example compilation André Almeida
2026-08-22 13:58 ` Alejandro Colomar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.