2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00

update error message to include sysfs info

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2062 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker
2003-11-16 20:17:30 +00:00
parent 6e2c2a4d69
commit 08e2eda9ff

View File

@@ -216,8 +216,9 @@ int main (int argc, char *argv[])
fprintf(stderr,"%s\n",sensors_strerror(res));
if (res == -SENSORS_ERR_PROC)
fprintf(stderr,
"/proc/sys/dev/sensors/chips or /proc/bus/i2c unreadable;\n"
"Make sure you have done 'modprobe i2c-proc'!\n");
"Unable to find i2c bus information;\n"
"For 2.6 kernels, make sure you have mounted sysfs!\n"
"For older kernels, make sure you have done 'modprobe i2c-proc'!\n");
exit(1);
}