diff options
author | Aaron Marcher <info@nulltime.net> | 2016-09-18 16:54:46 +0200 |
---|---|---|
committer | Aaron Marcher (drkhsh) <info@nulltime.net> | 2016-09-18 16:54:46 +0200 |
commit | db07244cb805c6c58b68e1aeed203c651976f034 (patch) | |
tree | 3af6d1be6c4a68686f8a00a8b68eb8313a6e02bf /slstatus.c | |
parent | 2fdb2ede0452b75d7b969aed61f0bdf5f22a0720 (diff) |
do not exit on failed smprintf
Diffstat (limited to 'slstatus.c')
-rw-r--r-- | slstatus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -90,7 +90,7 @@ smprintf(const char *fmt, ...) ret = malloc(++len); if (ret == NULL) { warn("Malloc failed."); - exit(1); + return "n/a"; } va_start(ap, fmt); |