All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Wong <e@80x24.org>
To: Alejandro Colomar <alx@kernel.org>
Cc: linux-man@vger.kernel.org, Eric Wong <e@80x24.org>
Subject: [PATCH] system_data_types.7: tfix
Date: Fri, 19 May 2023 10:26:43 +0000	[thread overview]
Message-ID: <20230519102643.3615995-1-e@80x24.org> (raw)

The actual field names omit the 'g', matching sigevent.7.

Signed-off-by: Eric Wong <e@80x24.org>
---
 I really don't understand why the 'g' is omitted to give us
 this footgun; `struct sigevent' has longer field names...

 man7/system_data_types.7 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index 6bbf71004..1840a40fa 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -183,8 +183,8 @@ POSIX.1-2001 and later.
 .PP
 .EX
 union sigval {
-    int     sigval_int; /* Integer value */
-    void   *sigval_ptr; /* Pointer value */
+    int     sival_int; /* Integer value */
+    void   *sival_ptr; /* Pointer value */
 };
 .EE
 .PP

             reply	other threads:[~2023-05-19 10:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-19 10:26 Eric Wong [this message]
2023-05-19 22:21 ` [PATCH] system_data_types.7: tfix Alejandro Colomar
  -- strict thread matches above, loose matches on Subject: below --
2021-05-09 21:38 [PATCH] fflush.3: SEE ALSO: Add fpurge(3) Alejandro Colomar
2021-05-09 21:39 ` [PATCH] system_data_types.7: tfix Alejandro Colomar
2021-05-09 23:46   ` Michael Kerrisk (man-pages)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230519102643.3615995-1-e@80x24.org \
    --to=e@80x24.org \
    --cc=alx@kernel.org \
    --cc=linux-man@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.