From 026827fd65c1163a92a984c4eae3882a6d69f8df Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Fri, 12 Aug 2016 14:39:30 +0200 Subject: die() consistency: always add newline --- util.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util.c') diff --git a/util.c b/util.c index 6b703e9..b0612af 100644 --- a/util.c +++ b/util.c @@ -27,6 +27,8 @@ die(const char *fmt, ...) { if (fmt[0] && fmt[strlen(fmt)-1] == ':') { fputc(' ', stderr); perror(NULL); + } else { + fputc('\n', stderr); } exit(1); -- cgit v1.2.3-13-gbd6f