[hackers] [dwmstatus] Fix execscript() function to retrieve kbmap || Pepijn Krijnsen

From: <git_AT_suckless.org>
Date: Sun, 21 Aug 2022 15:47:54 +0200 (CEST)

commit e3109b83569672686c3bd705ff37006f62c1b39c
Author: Pepijn Krijnsen <pepijn_AT_krijnsen.com>
AuthorDate: Sun Aug 21 14:03:34 2022 +0100
Commit: Christoph Lohmann <20h_AT_r-36.net>
CommitDate: Sun Aug 21 15:47:20 2022 +0200

    Fix execscript() function to retrieve kbmap
    
    Signed-off-by: Christoph Lohmann <20h_AT_r-36.net>

diff --git a/dwmstatus.c b/dwmstatus.c
index 9d81b54..ce7914a 100644
--- a/dwmstatus.c
+++ b/dwmstatus.c
_AT_@ -179,7 +179,7 @@ char *
 execscript(char *cmd)
 {
         FILE *fp;
- char retval[1025], rv;
+ char retval[1025], *rv;
 
         memset(retval, 0, sizeof(retval));
 
Received on Sun Aug 21 2022 - 15:47:54 CEST

This archive was generated by hypermail 2.3.0 : Sun Aug 21 2022 - 15:48:38 CEST