projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix race condition in dlopen
[musl]
/
src
/
stdio
/
perror.c
diff --git
a/src/stdio/perror.c
b/src/stdio/perror.c
index
4349ac5
..
fdcb4d7
100644
(file)
--- a/
src/stdio/perror.c
+++ b/
src/stdio/perror.c
@@
-10,7
+10,7
@@
void perror(const char *msg)
FLOCK(f);
- if (msg) {
+ if (msg
&& *msg
) {
fwrite(msg, strlen(msg), 1, f);
fputc(':', f);
fputc(' ', f);