commit e3109b83569672686c3bd705ff37006f62c1b39c
parent 8c2a152d8f4b28f62b8aaa2e0f6b408da9f99fe0
Author: Pepijn Krijnsen <pepijn@krijnsen.com>
Date: Sun, 21 Aug 2022 14:03:34 +0100
Fix execscript() function to retrieve kbmap
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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));