Patch from Aurelien Jarno:

On 2.6 kernels the sensors informations are in /sys and not /proc.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2832 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2005-01-06 18:48:32 +00:00
1 parent 007f9a9d30
commit 36ac2e21db
1 file changed
+2 -2
+2 -2
View File
@@ -80,7 +80,7 @@ loadConfig
if (!reload) {
if ((ret = sensors_init (stdin))) {
if (ret == -SENSORS_ERR_PROC)
sensorLog (LOG_ERR, "Error reading /proc; modules probably not loaded");
sensorLog (LOG_ERR, "Error reading /proc or /sys; modules probably not loaded");
else
sensorLog (LOG_ERR, "Error %d loading sensors configuration file: <stdin>", ret);
ret = 12;
@@ -97,7 +97,7 @@ loadConfig
ret = 11;
} else if ((ret = sensors_init (cfg))) {
if (ret == -SENSORS_ERR_PROC)
sensorLog (LOG_ERR, "Error reading /proc; modules probably not loaded");
sensorLog (LOG_ERR, "Error reading /proc or /sys; modules probably not loaded");
else
sensorLog (LOG_ERR, "Error %d loading sensors configuration file: %s", ret, cfgPath);
ret = 11;