projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2443213
)
sensors plugin: fix shutdown for SENSORS_HAVE_READ
author
Lubo¹ Stanìk
<kolektor@atlas.cz>
Tue, 5 Dec 2006 15:34:28 +0000
(16:34 +0100)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Tue, 5 Dec 2006 17:04:18 +0000
(18:04 +0100)
Sorry, too many changes for me to observe at once.
Signed-off-by: Stanek Lubos <kolektor@atlas.cz>
src/sensors.c
patch
|
blob
|
history
diff --git
a/src/sensors.c
b/src/sensors.c
index
9cf0858
..
352ecf7
100644
(file)
--- a/
src/sensors.c
+++ b/
src/sensors.c
@@
-342,6
+342,7
@@
static void sensors_shutdown (void)
ignorelist_free (sensor_list);
+#if SENSORS_HAVE_READ
while (thisft != NULL)
{
nextft = thisft->next;
@@
-350,6
+351,7
@@
static void sensors_shutdown (void)
}
sensors_cleanup ();
+#endif /* if SENSORS_HAVE_READ */
}
static void sensors_voltage_write (char *host, char *inst, char *val)