die() consistency: always add newline

This commit is contained in:
Hiltjo Posthuma committed 2016-08-12 14:39:30 +02:00
1 parent d14670b995
commit 026827fd65
3 files changed
+9 -7

No files matched your search

+2
View File
@@ -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);