From e3109b83569672686c3bd705ff37006f62c1b39c Mon Sep 17 00:00:00 2001 From: Pepijn Krijnsen Date: Sun, 21 Aug 2022 14:03:34 +0100 Subject: Fix execscript() function to retrieve kbmap Signed-off-by: Christoph Lohmann <20h@r-36.net> --- dwmstatus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- cgit v1.2.3