From d5fb46e61d037af21e99b5596f7a453fce155f67 Mon Sep 17 00:00:00 2001 From: Aaron Marcher Date: Mon, 12 Sep 2016 11:28:54 +0200 Subject: fixed wifi_perc() typo --- slstatus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3