mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 14:39:37 +00:00
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:
parent
ef3b9af643
commit
4347915c16
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18577
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user