From 94cc9718114cc3d058300cd9d5214ab62d51ad1e Mon Sep 17 00:00:00 2001 From: Robert Nordier Date: Thu, 29 Oct 1998 21:59:38 +0000 Subject: [PATCH] Clarify processing of the string argument by perror(). --- lib/libc/string/strerror.3 | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/lib/libc/string/strerror.3 b/lib/libc/string/strerror.3 index 67c22db97f80..498eba0af7ec 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