all repos — slstatus @ e1c5476291cf35693c072327cc5a0261983e1573

my build of slstatus (tools.suckless.org/slstatus/)

inititalize run_command()'s buf to UNKNOWN_STR by default
raiz raiz@firemail.cc
Tue, 27 Dec 2016 18:58:31 +0300
commit

e1c5476291cf35693c072327cc5a0261983e1573

parent

b7f4541506aac11a92d947939f6e9da8af49dd26

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M slstatus.cslstatus.c

@@ -407,7 +407,7 @@ run_command(const char *cmd)

{ char *nlptr; FILE *fp; - char buf[1024] = "n/a"; + char buf[1024] = UNKNOWN_STR; fp = popen(cmd, "r"); if (fp == NULL) {