summaryrefslogtreecommitdiff
path: root/lib/init.c
diff options
context:
space:
mode:
authorkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2007-09-23 13:53:11 +0000
committerkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2007-09-23 13:53:11 +0000
commit2b1ea6f681026d26ec3dffe380af1b77926308c5 (patch)
treedfeb1f40e4bec236ba0fb9ea47e85cab31ef8fdd /lib/init.c
parent4526a3b4a447c3723ad5a9f075a096b47c845ba8 (diff)
downloadlm-sensors-2b1ea6f681026d26ec3dffe380af1b77926308c5.tar.gz
Delete unused SENSORS_ERR_ACCESS.
Rename SENSORS_ERR_PROC to the more neutral SENSORS_ERR_KERNEL. Introduce SENSORS_ERR_NO_DEVS for finer-grained error reporting. Use SENSORS_ERR_KERNEL and SENSORS_ERR_NO_DEVS where appropriate. No error message for invalid error codes. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4854 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'lib/init.c')
-rw-r--r--lib/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/init.c b/lib/init.c
index 94f078eb..e06696d8 100644
--- a/lib/init.c
+++ b/lib/init.c
@@ -33,7 +33,7 @@ int sensors_init(FILE *input)
int res;
if (!sensors_init_sysfs())
- return -SENSORS_ERR_PROC;
+ return -SENSORS_ERR_KERNEL;
if ((res = sensors_read_sysfs_bus()) ||
(res = sensors_read_sysfs_chips()))
return res;