* [PATCH] futex.2: ffix
@ 2020-10-30 12:49 Alejandro Colomar
2020-10-30 20:05 ` Michael Kerrisk (man-pages)
0 siblings, 1 reply; 2+ messages in thread
From: Alejandro Colomar @ 2020-10-30 12:49 UTC (permalink / raw)
To: mtk.manpages; +Cc: Alejandro Colomar, linux-man
That comment wrapped on an 80-column terminal.
Divide it into two lines.
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
---
man2/futex.2 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/man2/futex.2 b/man2/futex.2
index 73de71623..538001e1d 100644
--- a/man2/futex.2
+++ b/man2/futex.2
@@ -1816,7 +1816,8 @@ fpost(uint32_t *futexp)
{
long s;
- /* atomic_compare_exchange_strong() was described in comments above */
+ /* atomic_compare_exchange_strong() was described
+ in comments above */
const uint32_t zero = 0;
if (atomic_compare_exchange_strong(futexp, &zero, 1)) {
--
2.28.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] futex.2: ffix
2020-10-30 12:49 [PATCH] futex.2: ffix Alejandro Colomar
@ 2020-10-30 20:05 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-10-30 20:05 UTC (permalink / raw)
To: Alejandro Colomar; +Cc: mtk.manpages, linux-man
Hi Alex,
On 10/30/20 1:49 PM, Alejandro Colomar wrote:
> That comment wrapped on an 80-column terminal.
> Divide it into two lines.
>
> Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
> ---
> man2/futex.2 | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/man2/futex.2 b/man2/futex.2
> index 73de71623..538001e1d 100644
> --- a/man2/futex.2
> +++ b/man2/futex.2
> @@ -1816,7 +1816,8 @@ fpost(uint32_t *futexp)
> {
> long s;
>
> - /* atomic_compare_exchange_strong() was described in comments above */
> + /* atomic_compare_exchange_strong() was described
> + in comments above */
>
> const uint32_t zero = 0;
> if (atomic_compare_exchange_strong(futexp, &zero, 1)) {
Thanks. patch applied.
Cheers,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-30 20:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-30 12:49 [PATCH] futex.2: ffix Alejandro Colomar
2020-10-30 20:05 ` Michael Kerrisk (man-pages)
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.