Linux Manual Pages development
 help / color / mirror / Atom feed
* Subject: [PATCH 0/1] inotify.7: Fix typo in struct size calculation
@ 2026-09-05  7:44 Maxim Inozemtsev
  2026-09-05  7:45 ` Maxim Inozemtsev
  2026-09-10 23:17 ` [PATCH v2] man/man7/inotify.7: " Alejandro Colomar
  0 siblings, 2 replies; 5+ messages in thread
From: Maxim Inozemtsev @ 2026-09-05  7:44 UTC (permalink / raw)
  To: alx; +Cc: linux-man

The documentation explains how the size of each `inotify_event` structure
is computed using fields from the structure itself. However, it mistakenly
uses the term `size` instead of `len` at the end of the math expression.

Since `len` is the actual field name indicating the bytes in `name`, fix
`sizeof(struct inotify_event)+size` to `sizeof(struct inotify_event)+len`.

Maxim Inozemtsev (1):
  inotify.7: Fix typo in struct size calculation

 man/man7/inotify.7 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.55.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-09-19 10:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05  7:44 Subject: [PATCH 0/1] inotify.7: Fix typo in struct size calculation Maxim Inozemtsev
2026-09-05  7:45 ` Maxim Inozemtsev
2026-09-10 23:17 ` [PATCH v2] man/man7/inotify.7: " Alejandro Colomar
2026-09-19  6:05   ` Maxim Inozemtsev
2026-09-19 10:10     ` Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox