diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-08-12 14:35:25 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-08-12 14:36:35 +0200 |
commit | ab9571bbc5f6fb04fd583238a665a7e830fc1397 (patch) | |
tree | acb6a9c5ecdd728ae89156bce29f5b56aaa554ec /util.c | |
parent | 56a31dc4a7be459e3a1ea06d45427e1a4087a1a6 (diff) |
die() consistency: always add newline
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |