projects
/
suckless
/
slstatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c892663
)
n/a for run_command()
author
Aaron Marcher
<info@nulltime.net>
Sat, 17 Sep 2016 16:16:27 +0000
(18:16 +0200)
committer
Aaron Marcher (drkhsh)
<info@nulltime.net>
Sat, 17 Sep 2016 16:16:27 +0000
(18:16 +0200)
slstatus.c
patch
|
blob
|
history
diff --git
a/slstatus.c
b/slstatus.c
index 05faef08db2679f9e3ce00b1de794ee171e5c3b8..4a092af7fcfcd6ca548054991dc1b6e334bc9b2d 100644
(file)
--- 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) {