diff options
| author | Robert Nordier <rnordier@FreeBSD.org> | 1998-10-29 14:40:20 +0000 | 
|---|---|---|
| committer | Robert Nordier <rnordier@FreeBSD.org> | 1998-10-29 14:40:20 +0000 | 
| commit | e524a581b1961a489bf88710e39f4377ffda5eac (patch) | |
| tree | 12cec3051b19bb778599b34897ad3e60ba88f8a5 /lib | |
| parent | 47a8315e54a79b65947eadfead94c3198abf9689 (diff) | |
Notes
Diffstat (limited to 'lib')
| -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++;  | 
