mirror of git://git.suckless.org/slstatus
fixed wifi_perc() typo
This commit is contained in:
parent
f901f4cece
commit
d5fb46e61d
|
@ -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 New Issue