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 committed 2002-07-31 14:27:49 +00:00
1 parent 0434eba357
commit 8d29ce56b5
2 files changed
+2 -1

No files matched your search

+1 -1
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
+1
View File
@@ -365,6 +365,7 @@ rrdUpdate
} else {
sprintf (rrdBuff + strlen (rrdBuff), ":%f", value * 10.0);
}
fclose (loadavg);
}
}
if (!ret) {