summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwmstatus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwmstatus.c b/dwmstatus.c
index 9d81b54..ce7914a 100644
--- a/dwmstatus.c
+++ b/dwmstatus.c
@@ -179,7 +179,7 @@ char *
execscript(char *cmd)
{
FILE *fp;
- char retval[1025], rv;
+ char retval[1025], *rv;
memset(retval, 0, sizeof(retval));