Xinqi Bao's Git

n/a for run_command()
[slstatus.git] / slstatus.c
index 05faef0..4a092af 100644 (file)
@@ -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) {