This commit is contained in:
Ali H. Fardan 2016-09-14 03:35:09 +03:00
parent 3e04f1d910
commit f28e2682fd
1 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ battery_perc(const char *battery)
static char * static char *
battery_state(const char *battery) battery_state(const char *battery)
{ {
char *state[12]; char state[12];
FILE *fp; FILE *fp;
if (!state) { if (!state) {
@ -607,7 +607,7 @@ main(void)
{ {
unsigned short int i; unsigned short int i;
char status_string[4096]; char status_string[4096];
char *res, *element, *status_old; char *res, *element;
struct arg argument; struct arg argument;
struct sigaction act; struct sigaction act;