From: Pepijn Krijnsen Date: Sun, 21 Aug 2022 13:03:34 +0000 (+0100) Subject: Fix execscript() function to retrieve kbmap X-Git-Url: http://git.subgeniuskitty.com/dwm-status/.git/commitdiff_plain/e3109b83569672686c3bd705ff37006f62c1b39c Fix execscript() function to retrieve kbmap Signed-off-by: Christoph Lohmann <20h@r-36.net> --- 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));