Xinqi Bao's Git
projects
/
slstatus.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
(from parent 2:
6cb5af2
)
Merge pull request #14 from R41z/master
author
Aaron Marcher <
[email protected]
>
Mon, 12 Sep 2016 09:47:48 +0000
(11:47 +0200)
committer
GitHub <
[email protected]
>
Mon, 12 Sep 2016 09:47:48 +0000
(11:47 +0200)
cpu_perc() workaround
slstatus.c
patch
|
blob
|
history
diff --git
a/slstatus.c
b/slstatus.c
index
0906b9d
..
76f0518
100644
(file)
--- a/
slstatus.c
+++ b/
slstatus.c
@@
-513,7
+513,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");