[PATCH] man/man2/statmount.2: Fix incorrect function signature

Bhavik Sachdev <[email protected]>
Newsgroups org.kernel.vger.linux-man
Message-ID <[email protected]>
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 <[email protected]>
---
 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.