aboutsummaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2016-08-12 14:39:30 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2016-08-12 14:39:30 +0200
commit026827fd65c1163a92a984c4eae3882a6d69f8df (patch)
tree9de6cecba4d2eedd2a0de5284cbcd228dee4c919 /util.c
parentd14670b9959f8b3760b63dd40a70687a90312b8a (diff)
downloaddmenu-026827fd65c1163a92a984c4eae3882a6d69f8df.tar.gz
dmenu-026827fd65c1163a92a984c4eae3882a6d69f8df.tar.bz2
dmenu-026827fd65c1163a92a984c4eae3882a6d69f8df.zip
die() consistency: always add newline
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 2 insertions, 0 deletions
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);