futex.2: Reword EINVAL error for invalid 'uaddr'/ 'uaddr2' case

There's no need to list all of the various futex operations in
this error case. These arguments are used the same way by each
operation, so the text can be worded in a more general way.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-01-13 14:48:03 +01:00
parent a543ff10b0
commit 0c74df0b6a
1 changed files with 6 additions and 11 deletions

View File

@ -662,19 +662,14 @@ was less than zero, or
was not less than 1000,000,000).
.TP
.B EINVAL
.RB ( FUTEX_WAIT ,
.BR FUTEX_WAKE ,
.BR FUTEX_WAKE_OP ,
.BR FUTEX_REQUEUE ,
.BR FUTEX_CMP_REQUEUE )
The operation specified in
.BR futex_op
employs one or both of the pointers
.I uaddr
or (for
.BR FUTEX_REQUEUE
and
.BR FUTEX_CMP_REQUEUE )
.I uaddr2
does not point to a valid object\(emthat is,
the address is not 4-byte-aligned.
.IR uaddr2 ,
but one of these does not point to a valid object\(emthat is,
the address is not four-byte-aligned.
.TP
.B EINVAL
.RB ( FUTEX_WAKE ,