Xinqi Bao's Git
projects
/
dmenu.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
die() consistency: always add newline
[dmenu.git]
/
util.c
diff --git
a/util.c
b/util.c
index
6b703e9
..
b0612af
100644
(file)
--- 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);