From cbb57e742218e3e1e3c95ae2337f40546434384a Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 8 Aug 2016 03:54:48 +1000 Subject: [PATCH] sysctl.2: Order ERRORS alphabetically Signed-off-by: Michael Kerrisk --- man2/sysctl.2 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/man2/sysctl.2 b/man2/sysctl.2 index e12d20fe9..a02c8c891 100644 --- a/man2/sysctl.2 +++ b/man2/sysctl.2 @@ -80,6 +80,14 @@ Otherwise, a value of \-1 is returned and is set to indicate the error. .SH ERRORS .TP +.BR EACCES ", " EPERM +No search permission for one of the encountered "directories", +or no read permission where +.I oldval +was nonzero, or no write permission where +.I newval +was nonzero. +.TP .B EFAULT The invocation asked for the previous value by setting .I oldval @@ -89,14 +97,6 @@ non-NULL, but allowed zero room in .B ENOTDIR .I name was not found. -.TP -.BR EACCES ", " EPERM -No search permission for one of the encountered "directories", -or no read permission where -.I oldval -was nonzero, or no write permission where -.I newval -was nonzero. .SH CONFORMING TO This call is Linux-specific, and should not be used in programs intended to be portable.