2
0
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:
Merlin Hughes
2002-07-31 14:27:49 +00:00
parent 0434eba357
commit 8d29ce56b5
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -365,6 +365,7 @@ rrdUpdate
} else {
sprintf (rrdBuff + strlen (rrdBuff), ":%f", value * 10.0);
}
fclose (loadavg);
}
}
if (!ret) {