diff options
| -rw-r--r-- | lib/libc/stdio/perror.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/perror.c b/lib/libc/stdio/perror.c index 91a7dee8b262..bb618247e96f 100644 --- a/lib/libc/stdio/perror.c +++ b/lib/libc/stdio/perror.c @@ -50,7 +50,7 @@ perror(s)  	struct iovec iov[4];  	v = iov; -	if (s != NULL) { +	if (s != NULL && *s != '\0') {  		v->iov_base = (char *)s;  		v->iov_len = strlen(s);  		v++;  | 
