diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-08-12 14:39:30 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-08-12 14:39:30 +0200 |
commit | 026827fd65c1163a92a984c4eae3882a6d69f8df (patch) | |
tree | 9de6cecba4d2eedd2a0de5284cbcd228dee4c919 /util.c | |
parent | d14670b9959f8b3760b63dd40a70687a90312b8a (diff) | |
download | dmenu-026827fd65c1163a92a984c4eae3882a6d69f8df.tar.gz dmenu-026827fd65c1163a92a984c4eae3882a6d69f8df.tar.bz2 dmenu-026827fd65c1163a92a984c4eae3882a6d69f8df.zip |
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); |