Thread (2 messages) 2 messages, 2 authors, 2024-05-26

Re: [PATCH] prctl: Fix the description of arguments

From: Alejandro Colomar <alx@kernel.org>
Date: 2024-05-26 10:15:45

Hi Ma,

On Tue, May 21, 2024 at 11:43:42AM GMT, maxj.fnst@fujitsu.com wrote:
From: Ma Xinjian <redacted>

The index of arguments in ERRORS section is not correct.

Signed-off-by: Ma Xinjian <redacted>
Patch applied; thanks.

Have a lovely day!
Alex
quoted hunk ↗ jump to hunk
---
 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
-- 
<https://www.alejandro-colomar.es/>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help