mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 06:15:15 +00:00
and then close the file
-mh git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1475 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
#include "lib/error.h"
|
||||
|
||||
static const char *sensorsCfgPaths[] = {
|
||||
"/etc", "/usr/lib/sensors", "/usr/local/lib/sensors", "/usr/lib", "/usr/local/lib", NULL
|
||||
"/etc", "/usr/local/etc", "/usr/lib/sensors", "/usr/local/lib/sensors", "/usr/lib", "/usr/local/lib", NULL
|
||||
};
|
||||
|
||||
#define CFG_PATH_LEN 4096
|
||||
|
@@ -365,6 +365,7 @@ rrdUpdate
|
||||
} else {
|
||||
sprintf (rrdBuff + strlen (rrdBuff), ":%f", value * 10.0);
|
||||
}
|
||||
fclose (loadavg);
|
||||
}
|
||||
}
|
||||
if (!ret) {
|
||||
|
Reference in New Issue
Block a user