mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-24 12:04:33 +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:
1 parent
6e2c2a4d69
commit
08e2eda9ff
1 file changed
+3
-2
+3
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user