summaryrefslogtreecommitdiff
path: root/slstatus.c
diff options
context:
space:
mode:
Diffstat (limited to 'slstatus.c')
-rw-r--r--slstatus.c2
1 files changed, 1 insertions, 1 deletions
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) {