Re: [PATCH] futex.2: wfix

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

 



On 3/16/20 9:47 PM, André Almeida wrote:
> The sixth argument of futex is uaddr2, instead of uaddr.

Thanks, André. Patch applied.

Cheers,

Michael

> 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
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[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