commit e3109b83569672686c3bd705ff37006f62c1b39c
Author: Pepijn Krijnsen <[email protected]>
AuthorDate: Sun Aug 21 14:03:34 2022 +0100
Commit: Christoph Lohmann <[email protected]>
CommitDate: Sun Aug 21 15:47:20 2022 +0200
Fix execscript() function to retrieve kbmap
Signed-off-by: Christoph Lohmann <[email protected]>
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));