fixed wifi_perc() typo
This commit is contained in:
parent
f901f4cece
commit
d5fb46e61d
1 changed files with 1 additions and 1 deletions
|
@ -510,7 +510,7 @@ wifi_perc(const char *wificard)
|
|||
char status[5];
|
||||
FILE *fp;
|
||||
|
||||
ccat(3, "/sys/class/net", wificard, "/operstate");
|
||||
ccat(3, "/sys/class/net/", wificard, "/operstate");
|
||||
|
||||
fp = fopen(concat, "r");
|
||||
|
||||
|
|
Loading…
Reference in a new issue