Browse Source

minor perror behavior fix

patch by nsz
rs-1.0
Rich Felker 14 years ago
parent
commit
82a4499e67
  1. 2
      src/stdio/perror.c

2
src/stdio/perror.c

@ -10,7 +10,7 @@ void perror(const char *msg)
FLOCK(f); FLOCK(f);
if (msg) { if (msg && *msg) {
fwrite(msg, strlen(msg), 1, f); fwrite(msg, strlen(msg), 1, f);
fputc(':', f); fputc(':', f);
fputc(' ', f); fputc(' ', f);

Loading…
Cancel
Save