netstar pushed a commit to branch master.

http://git.enlightenment.org/apps/evisum.git/commit/?id=9803a904eaf24ce5161742f1fc148e4ba1fc2976

commit 9803a904eaf24ce5161742f1fc148e4ba1fc2976
Author: Alastair Poole <nets...@gmail.com>
Date:   Sun Aug 23 17:56:48 2020 +0100

    battery: Fix Linux typo.
    
    Remember to check on Linux before doing a release you spazz!!!
---
 src/bin/system/machine/sensors.bogox | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/system/machine/sensors.bogox 
b/src/bin/system/machine/sensors.bogox
index 4e0dc83..6fab1d8 100644
--- a/src/bin/system/machine/sensors.bogox
+++ b/src/bin/system/machine/sensors.bogox
@@ -282,7 +282,7 @@ _battery_state_get(power_t *power)
    for (int i = 0; i < power->battery_count; i++) {
         naming = NULL;
 
-        path = strsli_printf("/sys/class/power_suppy/%s", 
power->batteries[i]->name);
+        path = strsli_printf("/sys/class/power_supply/%s", 
power->batteries[i]->name);
 
         if (((stat(path, &st) < 0)) || (S_ISLNK(st.st_mode)) || 
(!S_ISDIR(st.st_mode)))
           continue;

-- 


Reply via email to