mirror of
https://git.musl-libc.org/git/musl
synced 2025-02-15 01:34:10 +03:00
minor perror behavior fix
patch by nsz
This commit is contained in:
parent
85a3ba3a28
commit
82a4499e67
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user