diff options
Diffstat (limited to 'lib/libc/string/strerror.3')
-rw-r--r-- | lib/libc/string/strerror.3 | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/libc/string/strerror.3 b/lib/libc/string/strerror.3 index ecb827841a86..67c22db97f80 100644 --- a/lib/libc/string/strerror.3 +++ b/lib/libc/string/strerror.3 @@ -80,13 +80,16 @@ standard error file descriptor. If the argument .Fa string is -.Pf non- Dv NULL -and does not point to the null character, -this string is prepended to the message +.Pf non- Dv NULL , +it is prepended to the message string and separated from it by a colon and space -.Pq Ql \&:\ \& ; -otherwise, only the error message string is printed. +.Pq Ql \&:\ \& . +If +.Fa string +is +.Dv NULL , +only the error message string is printed. .Pp If .Fa errnum |