diff options
author | Ali H. Fardan <raiz@firemail.cc> | 2016-09-14 03:35:09 +0300 |
---|---|---|
committer | Ali H. Fardan <raiz@firemail.cc> | 2016-09-14 03:35:09 +0300 |
commit | f28e2682fdea5991891bf5f784292dc8fe7603a5 (patch) | |
tree | c99c2c6d7c63eac72ff7aa0c237a75d289753583 | |
parent | 3e04f1d910b2bab606e2bcaa61a0cee4f9cfe8b8 (diff) |
* != **
-rw-r--r-- | slstatus.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |