Linux-man Archive mirror
 help / color / mirror / Atom feed
From: maxj.fnst@fujitsu.com
To: linux-man@vger.kernel.org
Cc: Ma Xinjian <maxj.fnst@fujitsu.com>
Subject: [PATCH] prctl: Fix the description of arguments
Date: Tue, 21 May 2024 11:43:42 +0800	[thread overview]
Message-ID: <20240521034342.1967-1-maxj.fnst@fujitsu.com> (raw)

From: Ma Xinjian <maxj.fnst@fujitsu.com>

The index of arguments in ERRORS section is not correct.

Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com>
---
 man/man2/prctl.2 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/man/man2/prctl.2 b/man/man2/prctl.2
index fad855832..cc6d3b4a8 100644
--- a/man/man2/prctl.2
+++ b/man/man2/prctl.2
@@ -2124,7 +2124,7 @@ above).
 is
 .BR PR_SET_MM ,
 and
-.I arg3
+.I arg2
 is
 .BR PR_SET_MM_EXE_FILE ,
 the file is not executable.
@@ -2133,18 +2133,18 @@ the file is not executable.
 .I op
 is
 .BR PR_SET_MM ,
-.I arg3
+.I arg2
 is
 .BR PR_SET_MM_EXE_FILE ,
 and the file descriptor passed in
-.I arg4
+.I arg3
 is not valid.
 .TP
 .B EBUSY
 .I op
 is
 .BR PR_SET_MM ,
-.I arg3
+.I arg2
 is
 .BR PR_SET_MM_EXE_FILE ,
 and this the second attempt to change the
-- 
2.39.3


             reply	other threads:[~2024-05-21  3:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-21  3:43 maxj.fnst [this message]
2024-05-26 10:15 ` [PATCH] prctl: Fix the description of arguments 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=20240521034342.1967-1-maxj.fnst@fujitsu.com \
    --to=maxj.fnst@fujitsu.com \
    --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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).