mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-10 16:30:50 +00:00
More library stuff
Nice init and cleanup functions. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@97 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
750e0d00aa
commit
1779b684c1
8 files changed
+161
-9
No files matched your search
+1
-1
@@ -41,7 +41,7 @@ static const char *errorlist[] =
|
||||
|
||||
#define ERROR_LIST_LEN (sizeof(errorlist) / sizeof(char *))
|
||||
|
||||
char *sensors_strerror(int errnum)
|
||||
const char *sensors_strerror(int errnum)
|
||||
{
|
||||
if (errnum < 0)
|
||||
errnum = -errnum;
|
||||
|
||||
Reference in new issue
Block a user