mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-12 16:50:15 +00:00
Fix misleading error message when no chip is found on Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3101 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
739986c1db
commit
d523b3b7d1
1 file changed
+2
-2
+2
-2
@@ -232,8 +232,8 @@ int main (int argc, char *argv[])
|
||||
if (res == -SENSORS_ERR_PROC)
|
||||
fprintf(stderr,
|
||||
"Unable to find i2c bus information;\n"
|
||||
"For 2.6 kernels, make sure you have mounted sysfs and done\n"
|
||||
"'modprobe i2c_sensor'!\n"
|
||||
"For 2.6 kernels, make sure you have mounted sysfs and libsensors\n"
|
||||
"was compiled with sysfs support!\n"
|
||||
"For older kernels, make sure you have done 'modprobe i2c-proc'!\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user