summaryrefslogtreecommitdiff
path: root/slstatus.c
diff options
context:
space:
mode:
authorAaron Marcher <info@nulltime.net>2016-09-17 18:16:27 +0200
committerAaron Marcher (drkhsh) <info@nulltime.net>2016-09-17 18:16:27 +0200
commit9477f3b1d11521d015f0117b99235ccf72e99cb8 (patch)
treed2e56554dcd76ad124ddfd3531002b3d848173e3 /slstatus.c
parentc8926634be53796b3b5d4ebe85a79e0a721ef43e (diff)
n/a for run_command()
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) {