summaryrefslogtreecommitdiff
path: root/slstatus.c
diff options
context:
space:
mode:
authorAaron Marcher <info@nulltime.net>2016-09-14 18:42:51 +0200
committerAaron Marcher (drkhsh) <info@nulltime.net>2016-09-14 18:42:51 +0200
commit887b9bd3e37304d469845454f390cbf13198799d (patch)
treec2e570b4e0a20a4ca0043c44dfdf69dda6659349 /slstatus.c
parentad03218fd54e01d612b19a0a569f440131cd5800 (diff)
fixed 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 a13bf3b..7dee542 100644
--- a/slstatus.c
+++ b/slstatus.c
@@ -407,7 +407,7 @@ static char *
run_command(const char* command)
{
FILE *fp = popen(command, "r");
- char buffer[64] = '\0';
+ char buffer[64] = "\0";
if (fp == NULL) {
warn("Could not get command output for: %s", command);