Search
j0ke.net Open Build Service
>
Projects
>
stresslinux
>
sensors
> lm_sensors-3.0.0-sensord-fix-rrd-support.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File lm_sensors-3.0.0-sensord-fix-rrd-support.patch of Package sensors (Revision 9)
Currently displaying revision
9
,
show latest
Index: lm-sensors-3.0.0/prog/sensord/rrd.c =================================================================== --- prog/sensord/rrd.c (revision 4849) +++ prog/sensord/rrd.c (revision 5069) @@ -156,10 +156,10 @@ 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 {