projects
/
suckless
/
slstatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e04f1d
)
* != **
author
Ali H. Fardan
<raiz@firemail.cc>
Wed, 14 Sep 2016 00:35:09 +0000
(
03:35
+0300)
committer
Ali H. Fardan
<raiz@firemail.cc>
Wed, 14 Sep 2016 00:35:09 +0000
(
03:35
+0300)
slstatus.c
patch
|
blob
|
history
diff --git
a/slstatus.c
b/slstatus.c
index 69fb6a52fe46119f15b718dfa386222e53634ceb..f0d95444e89eefb2be7e22609213f1816bf4fc32 100644
(file)
--- a/
slstatus.c
+++ b/
slstatus.c
@@
-116,7
+116,7
@@
battery_perc(const char *battery)
static char *
battery_state(const char *battery)
{
- char
*
state[12];
+ char state[12];
FILE *fp;
if (!state) {
@@
-607,7
+607,7
@@
main(void)
{
unsigned short int i;
char status_string[4096];
- char *res, *element
, *status_old
;
+ char *res, *element;
struct arg argument;
struct sigaction act;