mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-31 13:10:30 +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:
1 parent
0434eba357
commit
8d29ce56b5
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -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