mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-29 13:28:01 +00:00
sensord: Fix rrd support (#2276).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5069 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
parent
67218f03c3
commit
4f8196934c
1
CHANGES
1
CHANGES
@ -8,6 +8,7 @@ SVN
|
|||||||
pwmconfig: Really hide errors on sysfs writes
|
pwmconfig: Really hide errors on sysfs writes
|
||||||
Deal gracefully with read-only pwm_enable files
|
Deal gracefully with read-only pwm_enable files
|
||||||
Warn about outputs found in automatic mode
|
Warn about outputs found in automatic mode
|
||||||
|
sensord: Fix rrd support (#2276)
|
||||||
sensors-detect: Drop PCA9540 detection
|
sensors-detect: Drop PCA9540 detection
|
||||||
|
|
||||||
3.0.0 (2007-11-24)
|
3.0.0 (2007-11-24)
|
||||||
|
@ -156,10 +156,10 @@ applyToFeatures
|
|||||||
|
|
||||||
for (index0 = 0; (ret == 0) && (num < MAX_RRD_SENSORS) && features[index0].format; ++ index0) {
|
for (index0 = 0; (ret == 0) && (num < MAX_RRD_SENSORS) && features[index0].format; ++ index0) {
|
||||||
const FeatureDescriptor *feature = features + index0;
|
const FeatureDescriptor *feature = features + index0;
|
||||||
const char *rawLabel = features->feature->name;
|
const char *rawLabel = feature->feature->name;
|
||||||
char *label = NULL;
|
char *label = NULL;
|
||||||
|
|
||||||
if (!(label = sensors_get_label (chip, features->feature))) {
|
if (!(label = sensors_get_label (chip, feature->feature))) {
|
||||||
sensorLog (LOG_ERR, "Error getting sensor label: %s/%s", chip->prefix, rawLabel);
|
sensorLog (LOG_ERR, "Error getting sensor label: %s/%s", chip->prefix, rawLabel);
|
||||||
ret = -1;
|
ret = -1;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user