diff --git a/CHANGES b/CHANGES index dc45bcd4..9b736e54 100644 --- a/CHANGES +++ b/CHANGES @@ -8,6 +8,7 @@ SVN pwmconfig: Really hide errors on sysfs writes Deal gracefully with read-only pwm_enable files Warn about outputs found in automatic mode + sensord: Fix rrd support (#2276) sensors-detect: Drop PCA9540 detection 3.0.0 (2007-11-24) diff --git a/prog/sensord/rrd.c b/prog/sensord/rrd.c index bccec0d3..1da09685 100644 --- a/prog/sensord/rrd.c +++ b/prog/sensord/rrd.c @@ -156,10 +156,10 @@ applyToFeatures for (index0 = 0; (ret == 0) && (num < MAX_RRD_SENSORS) && features[index0].format; ++ index0) { const FeatureDescriptor *feature = features + index0; - const char *rawLabel = features->feature->name; + const char *rawLabel = feature->feature->name; 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); ret = -1; } else {