fix: use config.h
This commit is contained in:
parent
d92ca755bd
commit
bfe23c60fd
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ main(int argc, char *argv[])
|
||||||
char *s = get_substring(out[1], 0, 2);
|
char *s = get_substring(out[1], 0, 2);
|
||||||
|
|
||||||
if (strcmp(s, "AC") == 0) {
|
if (strcmp(s, "AC") == 0) {
|
||||||
plugged = plugged_in("/sys/class/power_supply/ACAD/online");
|
plugged = plugged_in((char *)linefile);
|
||||||
}
|
}
|
||||||
|
|
||||||
free(s);
|
free(s);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue