2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15: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:
Jean Delvare
2005-09-25 13:31:53 +00:00
parent 739986c1db
commit d523b3b7d1

View File

@@ -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);
}