---
 src/modules/temperature/tempget.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/modules/temperature/tempget.c 
b/src/modules/temperature/tempget.c
index 3a1c346..ffbfb7f 100644
--- a/src/modules/temperature/tempget.c
+++ b/src/modules/temperature/tempget.c
@@ -343,7 +343,7 @@ init(void)
             break;
           case SENSOR_TYPE_LINUX_SYS:
             snprintf(path, sizeof(path),
-                     "/sys/class/thermal/thermal/%s/temp", sensor_name);
+                     "/sys/class/thermal/%s/temp", sensor_name);
             sensor_path = strdup(path);
             break;
            default:
@@ -508,6 +508,7 @@ check(void)
             fclose(f);
              temp = atoi(buf);
              temp /= 1000;
+             ret = 1;
          }
        else
          goto error;
-- 
1.7.12.1


------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to