summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/string/strerror.313
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/libc/string/strerror.3 b/lib/libc/string/strerror.3
index 67c22db..498eba0 100644
--- a/lib/libc/string/strerror.3
+++ b/lib/libc/string/strerror.3
@@ -80,16 +80,13 @@ standard error file descriptor.
If the argument
.Fa string
is
-.Pf non- Dv NULL ,
-it is prepended to the message
+.Pf non- Dv NULL
+or points to the null character,
+this string is prepended to the message
string and separated from it by
a colon and space
-.Pq Ql \&:\ \& .
-If
-.Fa string
-is
-.Dv NULL ,
-only the error message string is printed.
+.Pq Ql \&:\ \& ;
+otherwise, only the error message string is printed.
.Pp
If
.Fa errnum
OpenPOWER on IntegriCloud