Linux-man Archive mirror
 help / color / mirror / Atom feed
* [PATCH] prctl: Fix the description of arguments
@ 2024-05-21  3:43 maxj.fnst
  2024-05-26 10:15 ` Alejandro Colomar
  0 siblings, 1 reply; 2+ messages in thread
From: maxj.fnst @ 2024-05-21  3:43 UTC (permalink / raw
  To: linux-man; +Cc: Ma Xinjian

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] prctl: Fix the description of arguments
  2024-05-21  3:43 [PATCH] prctl: Fix the description of arguments maxj.fnst
@ 2024-05-26 10:15 ` Alejandro Colomar
  0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar @ 2024-05-26 10:15 UTC (permalink / raw
  To: maxj.fnst; +Cc: linux-man

[-- Attachment #1: Type: text/plain, Size: 1164 bytes --]

Hi Ma,

On Tue, May 21, 2024 at 11:43:42AM GMT, maxj.fnst@fujitsu.com wrote:
> 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>

Patch applied; thanks.

Have a lovely day!
Alex

> ---
>  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/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-26 10:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-21  3:43 [PATCH] prctl: Fix the description of arguments maxj.fnst
2024-05-26 10:15 ` Alejandro Colomar

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).