summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Marcher <info@nulltime.net>2016-09-12 11:28:54 +0200
committerAaron Marcher (drkhsh) <info@nulltime.net>2016-09-12 11:28:54 +0200
commitd5fb46e61d037af21e99b5596f7a453fce155f67 (patch)
tree1bd308692ab445738ccd28b562c4679f6042a838
parentf901f4cece067787bc705427195f82eef1aa03e0 (diff)
fixed wifi_perc() typo
-rw-r--r--slstatus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slstatus.c b/slstatus.c
index 6c25f3f..55bcdf8 100644
--- a/slstatus.c
+++ b/slstatus.c
@@ -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");