linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] futex.2: wfix
@ 2020-03-16 20:47 André Almeida
  2020-03-26  8:49 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: André Almeida @ 2020-03-16 20:47 UTC (permalink / raw)
  To: mtk.manpages; +Cc: linux-man, kernel, André Almeida

The sixth argument of futex is uaddr2, instead of uaddr.

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

diff --git a/man2/futex.2 b/man2/futex.2
index 54dc8e590..141ebaa45 100644
--- a/man2/futex.2
+++ b/man2/futex.2
@@ -1775,7 +1775,7 @@ futex(int *uaddr, int futex_op, int val,
       const struct timespec *timeout, int *uaddr2, int val3)
 {
     return syscall(SYS_futex, uaddr, futex_op, val,
-                   timeout, uaddr, val3);
+                   timeout, uaddr2, val3);
 }
 
 /* Acquire the futex pointed to by \(aqfutexp\(aq: wait for its value to
-- 
2.25.1


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

end of thread, other threads:[~2020-03-26  8:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-16 20:47 [PATCH] futex.2: wfix André Almeida
2020-03-26  8:49 ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).