aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
Diffstat (limited to 'man3')
-rw-r--r--man3/getpass.32
-rw-r--r--man3/mkfifo.35
2 files changed, 4 insertions, 3 deletions
diff --git a/man3/getpass.3 b/man3/getpass.3
index 8c0f0e20da..95c72147e3 100644
--- a/man3/getpass.3
+++ b/man3/getpass.3
@@ -74,7 +74,7 @@ newline, terminated by a null byte (\(aq\e0\(aq).
This buffer may be overwritten by a following call.
On error, the terminal state is restored,
.I errno
-is set appropriately, and NULL is returned.
+is set to indicate the error, and NULL is returned.
.SH ERRORS
The function may fail if
.TP
diff --git a/man3/mkfifo.3 b/man3/mkfifo.3
index a6e3e2deeb..5432cc9a93 100644
--- a/man3/mkfifo.3
+++ b/man3/mkfifo.3
@@ -117,8 +117,9 @@ On success
and
.BR mkfifoat ()
return 0.
-In the case of an error, \-1 is returned (in which case, \fIerrno\fP
-is set appropriately).
+On error, \-1 is returned and
+.I errno
+is set to indicate the error.
.SH ERRORS
.TP
.B EACCES