summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPepijn Krijnsen <pepijn@krijnsen.com>2022-08-21 14:03:34 +0100
committerChristoph Lohmann <20h@r-36.net>2022-08-21 15:47:20 +0200
commite3109b83569672686c3bd705ff37006f62c1b39c (patch)
tree5945aa37d28766e8ee1f7fc48b8c09b260fa3a57
parent8c2a152d8f4b28f62b8aaa2e0f6b408da9f99fe0 (diff)
Fix execscript() function to retrieve kbmap
Signed-off-by: Christoph Lohmann <20h@r-36.net>
-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));