Skip to contentSkip to conversation

prctl: Fix the description of arguments

PATCH In review [email protected] 2 participants 2 messages May 21, 2024 – May 26, 2024 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 prctl: Fix the description of arguments

From: Ma Xinjian <[email protected]>

The index of arguments in ERRORS section is not correct.

---
 man/man2/prctl.2 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
man/man2/prctl.2 +4 -4
index fad855832..cc6d3b4a8 100644
@@ -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
Signature · 1 line
2.39.3
#1 lore raw

Hi Ma,

Quoted 5 lines · On Tue, May 21, 2024 at 11:43:42AM GMT, [email protected] wrote:

From: Ma Xinjian <[email protected]>

The index of arguments in ERRORS section is not correct.

Patch applied; thanks.

Have a lovely day!
Alex

Quoted 43 lines
---
 man/man2/prctl.2 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
man/man2/prctl.2 +4 -4
index fad855832..cc6d3b4a8 100644
@@ -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
Signature · 1 line
2.39.3
Signature · 1 line
<https://www.alejandro-colomar.es/>