aboutsummaryrefslogtreecommitdiffstats
path: root/man2/add_key.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2021-01-07 07:50:50 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-01-07 14:27:27 +0100
commit855d489a7f90cfeaae45c55f80a65dc2135aaa75 (patch)
tree4abe8c4d7939f1411d3560bae3ca889c9db2959c /man2/add_key.2
parent3cf2958737d292a2e5205f0ed662d70f4e3c9187 (diff)
downloadman-pages-855d489a7f90cfeaae45c55f80a65dc2135aaa75.tar.gz
Various pages: Standardize wording around setting of 'errno' on error
In the RETURN VALUE sections, a number of different wordings are used in to describe the fact that 'errno' is set on error. There's no reason for the difference in wordings, since the same thing is being described in each case. Switch to a standard wording that is the same as FreeBSD and similar to the wording used in POSIX.1. In this change, "to indicate the cause of the error" is changed to "to indicate the error". Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/add_key.2')
-rw-r--r--man2/add_key.22
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/add_key.2 b/man2/add_key.2
index 0d136e4aa4..3b41580a24 100644
--- a/man2/add_key.2
+++ b/man2/add_key.2
@@ -147,7 +147,7 @@ On success,
returns the serial number of the key it created or updated.
On error, \-1 is returned and
.I errno
-is set to indicate the cause of the error.
+is set to indicate the error.
.SH ERRORS
.TP
.B EACCES