From 9477f3b1d11521d015f0117b99235ccf72e99cb8 Mon Sep 17 00:00:00 2001 From: Aaron Marcher Date: Sat, 17 Sep 2016 18:16:27 +0200 Subject: n/a for run_command() --- slstatus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slstatus.c b/slstatus.c index 05faef0..4a092af 100644 --- a/slstatus.c +++ b/slstatus.c @@ -406,7 +406,7 @@ static char * run_command(const char *cmd) { FILE *fp; - char buf[64] = "\0"; + char buf[64] = "n/a"; fp = popen(cmd, "r"); if (fp == NULL) { -- cgit v1.2.3