summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");