aboutsummaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2016-08-12 14:35:25 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2016-08-12 14:36:35 +0200
commitab9571bbc5f6fb04fd583238a665a7e830fc1397 (patch)
treeacb6a9c5ecdd728ae89156bce29f5b56aaa554ec /util.c
parent56a31dc4a7be459e3a1ea06d45427e1a4087a1a6 (diff)
downloaddwm-ab9571bbc5f6fb04fd583238a665a7e830fc1397.tar.gz
dwm-ab9571bbc5f6fb04fd583238a665a7e830fc1397.tar.bz2
dwm-ab9571bbc5f6fb04fd583238a665a7e830fc1397.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);