diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-06-01 18:58:13 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-06-01 18:58:13 +0200 |
commit | 3efa3b0e267540ed85c583b7c2259a93db09f276 (patch) | |
tree | 9815db7c39bd40be1e386c65450c9c0fc8b094ea | |
parent | bb25cc51a8d31f96bb8b63c2bf632f195068330a (diff) |
util.c: err() do not print colon formatted
Most common-used compilers (gcc, clang) optimize this away though.
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ err(int exitstatus, const char *fmt, ...) va_start(ap, fmt); vfprintf(stderr, fmt, ap); va_end(ap); - fprintf(stderr, ": "); + fputs(": ", stderr); } fprintf(stderr, "%s\n", strerror(saved_errno)); |