[PATCH] prctl: Fix the description of arguments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ma Xinjian <maxj.fnst@xxxxxxxxxxx>

The index of arguments in ERRORS section is not correct.

Signed-off-by: Ma Xinjian <maxj.fnst@xxxxxxxxxxx>
---
 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





[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux