summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 583b04d)
raw | patch | inline | side by side (parent: 583b04d)
author | Peter Holik <peter@holik.at> | |
Wed, 26 Mar 2008 12:48:09 +0000 (13:48 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 26 Mar 2008 12:48:09 +0000 (13:48 +0100) |
Hi everybody!
While playing with sensors i missed temperature rrd files:
--- sensors.c.orig 2008-03-25 14:58:21.000000000 +0100
+++ sensors.c 2008-03-25 14:58:27.000000000 +0100
@@ -580,7 +580,7 @@
type = "fanspeed";
else if (fl->feature->type
== SENSORS_FEATURE_TEMP)
- type = "input";
+ type = "temperature";
else
continue;
because this type got registered as input and "input" is not in types.db
after configuring with --enable-debug i saw a log:
No such dataset registered: input
should that be also without --enable-debug in my syslog?
cu Peter
While playing with sensors i missed temperature rrd files:
--- sensors.c.orig 2008-03-25 14:58:21.000000000 +0100
+++ sensors.c 2008-03-25 14:58:27.000000000 +0100
@@ -580,7 +580,7 @@
type = "fanspeed";
else if (fl->feature->type
== SENSORS_FEATURE_TEMP)
- type = "input";
+ type = "temperature";
else
continue;
because this type got registered as input and "input" is not in types.db
after configuring with --enable-debug i saw a log:
No such dataset registered: input
should that be also without --enable-debug in my syslog?
cu Peter
src/sensors.c | patch | blob | history |
diff --git a/src/sensors.c b/src/sensors.c
index a96e04ccf7f66ee2dbc4823a1a8a449db44d32d9..2a0a9ea5788b05890ec59478cbea8ab67ee4aaa5 100644 (file)
--- a/src/sensors.c
+++ b/src/sensors.c
type = "fanspeed";
else if (fl->feature->type
== SENSORS_FEATURE_TEMP)
- type = "input";
+ type = "temperature";
else
continue;