From d523b3b7d1067663a61f1e7d12f38ff3d66cc4ad Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sun, 25 Sep 2005 13:31:53 +0000 Subject: [PATCH] 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 --- prog/sensors/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prog/sensors/main.c b/prog/sensors/main.c index 5f69bf06..90e54594 100644 --- a/prog/sensors/main.c +++ b/prog/sensors/main.c @@ -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); }