Changeset 5069

Show
Ignore:
Timestamp:
12/11/07 14:14:39 (7 years ago)
Author:
khali
Message:

sensord: Fix rrd support (#2276).

Location:
lm-sensors/branches/lm-sensors-3.0.0
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/CHANGES

    r5067 r5069  
    99             Deal gracefully with read-only pwm_enable files 
    1010             Warn about outputs found in automatic mode 
     11  sensord: Fix rrd support (#2276) 
    1112  sensors-detect: Drop PCA9540 detection 
    1213 
  • lm-sensors/branches/lm-sensors-3.0.0/prog/sensord/rrd.c

    r4849 r5069  
    157157        for (index0 = 0; (ret == 0) && (num < MAX_RRD_SENSORS) && features[index0].format; ++ index0) { 
    158158          const FeatureDescriptor *feature = features + index0; 
    159           const char *rawLabel = features->feature->name; 
     159          const char *rawLabel = feature->feature->name; 
    160160          char *label = NULL; 
    161161 
    162           if (!(label = sensors_get_label (chip, features->feature))) { 
     162          if (!(label = sensors_get_label (chip, feature->feature))) { 
    163163            sensorLog (LOG_ERR, "Error getting sensor label: %s/%s", chip->prefix, rawLabel); 
    164164            ret = -1;