summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2021-06-01 18:58:13 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2021-06-01 18:58:13 +0200
commit3efa3b0e267540ed85c583b7c2259a93db09f276 (patch)
tree9815db7c39bd40be1e386c65450c9c0fc8b094ea
parentbb25cc51a8d31f96bb8b63c2bf632f195068330a (diff)
util.c: err() do not print colon formatted
Most common-used compilers (gcc, clang) optimize this away though.
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index c43bdfc..b5874e5 100644
--- a/util.c
+++ b/util.c
@@ -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));