[PATCH] futex.2: wfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: André Almeida <andrealmeid@xxxxxxxxxxxxx>
---
 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




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux