diff options
author | Aaron Marcher <info@nulltime.net> | 2016-09-14 18:42:51 +0200 |
---|---|---|
committer | Aaron Marcher (drkhsh) <info@nulltime.net> | 2016-09-14 18:42:51 +0200 |
commit | 887b9bd3e37304d469845454f390cbf13198799d (patch) | |
tree | c2e570b4e0a20a4ca0043c44dfdf69dda6659349 /slstatus.c | |
parent | ad03218fd54e01d612b19a0a569f440131cd5800 (diff) |
fixed run_command()
Diffstat (limited to 'slstatus.c')
-rw-r--r-- | slstatus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |