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 57a73fc..91a7dee 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 && *s) { + if (s != NULL) { v->iov_base = (char *)s; v->iov_len = strlen(s); v++; |