diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-01-07 07:50:50 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-01-07 14:27:27 +0100 |
| commit | 855d489a7f90cfeaae45c55f80a65dc2135aaa75 (patch) | |
| tree | 4abe8c4d7939f1411d3560bae3ca889c9db2959c /man2/mmap.2 | |
| parent | 3cf2958737d292a2e5205f0ed662d70f4e3c9187 (diff) | |
| download | man-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/mmap.2')
| -rw-r--r-- | man2/mmap.2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man2/mmap.2 b/man2/mmap.2 index 30170fbedf..b44a8f1b78 100644 --- a/man2/mmap.2 +++ b/man2/mmap.2 @@ -497,14 +497,14 @@ On error, the value .IR "(void\ *)\ \-1" ) is returned, and .I errno -is set to indicate the cause of the error. +is set to indicate the error. .PP On success, .BR munmap () returns 0. On failure, it returns \-1, and .I errno -is set to indicate the cause of the error (probably to +is set to indicate the error (probably to .BR EINVAL ). .SH ERRORS .TP |
