Linux Manual Pages development
 help / color / mirror / Atom feed
* [PATCH] man/man2/statmount.2: Fix incorrect function signature
@ 2026-08-15  7:45 Bhavik Sachdev
  2026-08-17  9:07 ` Alejandro Colomar
  0 siblings, 1 reply; 2+ messages in thread
From: Bhavik Sachdev @ 2026-08-15  7:45 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: linux-man, Bhavik Sachdev

flags argument is an unsigned int not an unsigned long [1].

[1]:
<https://github.com/torvalds/linux/blob/master/fs/namespace.c#L5961>

Fixes: c011cc992510 (2024-07-09; "statmount.2: Add page")
Signed-off-by: Bhavik Sachdev <b.sachdev1904@gmail.com>
---
 man/man2/statmount.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/man2/statmount.2 b/man/man2/statmount.2
index b6d9dc2a1..a365002dd 100644
--- a/man/man2/statmount.2
+++ b/man/man2/statmount.2
@@ -16,7 +16,7 @@ Standard C library
 .P
 .BI "int syscall(SYS_statmount, struct mnt_id_req *" req ,
 .BI "            struct statmount *" smbuf ", size_t " bufsize ,
-.BI "            unsigned long " flags );
+.BI "            unsigned int " flags );
 .P
 .B #include <linux/mount.h>
 .fi
-- 
2.53.0


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

end of thread, other threads:[~2026-08-17  9:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-15  7:45 [PATCH] man/man2/statmount.2: Fix incorrect function signature Bhavik Sachdev
2026-08-17  9:07 ` Alejandro Colomar

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