Fix execscript() function to retrieve kbmap - dwmstatus - A simple dwm status application in C.
(HTM) git clone git://git.suckless.org/dwmstatus
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit e3109b83569672686c3bd705ff37006f62c1b39c
(DIR) parent 8c2a152d8f4b28f62b8aaa2e0f6b408da9f99fe0
(HTM) 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:
M dwmstatus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) 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));