Linux Manual Pages development
 help / color / mirror / Atom feed
From: Bhavik Sachdev <b.sachdev1904@gmail.com>
To: Alejandro Colomar <alx@kernel.org>
Cc: linux-man@vger.kernel.org, Bhavik Sachdev <b.sachdev1904@gmail.com>
Subject: [PATCH] man/man2/statmount.2: Fix incorrect function signature
Date: Sat, 15 Aug 2026 13:15:26 +0530	[thread overview]
Message-ID: <20260815074526.1094308-1-b.sachdev1904@gmail.com> (raw)

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


             reply	other threads:[~2026-08-15  7:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-15  7:45 Bhavik Sachdev [this message]
2026-08-17  9:07 ` [PATCH] man/man2/statmount.2: Fix incorrect function signature Alejandro Colomar

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=20260815074526.1094308-1-b.sachdev1904@gmail.com \
    --to=b.sachdev1904@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox