perror () does not prepend ": " for the non-NULL argument "". close PR 1492

Submitted by: Kent Vander Velden <graphix@iastate.edu>
Reviewed by:
Submitted by:
Obtained from:
This commit is contained in:
Wolfram Schneider 1996-09-30 15:39:18 +00:00
parent ef3b9af643
commit 4347915c16
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18577

View File

@ -50,7 +50,7 @@ perror(s)
struct iovec iov[4];
v = iov;
if (s && *s) {
if (s != NULL) {
v->iov_base = (char *)s;
v->iov_len = strlen(s);
v++;