X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsensors.c;h=852b41c1c47e80e8dccb08821482a8ddfd575265;hb=8361c1e963f9184c3c4d87197fd6996d667cdb3f;hp=6125d0bc1b7f49ae1d43eb2ea21e2dd69f34332c;hpb=dc3637c5113c79e83d8d104c88c9cc5057dc9dcb;p=collectd.git diff --git a/src/sensors.c b/src/sensors.c index 6125d0bc..852b41c1 100644 --- a/src/sensors.c +++ b/src/sensors.c @@ -18,7 +18,7 @@ * * Authors: * Florian octo Forster - * + * * Lubos Stanek Wed Oct 27, 2006 * - config ExtendedSensorNaming option * - precise sensor feature selection (chip-bus-address/type-feature) @@ -76,7 +76,7 @@ struct sensors_labeltypes_s typedef struct sensors_labeltypes_s sensors_labeltypes_t; /* finite list of known labels extracted from lm_sensors */ -static sensors_labeltypes_t known_features[] = +static sensors_labeltypes_t known_features[] = { { "fan1", SENSOR_TYPE_FANSPEED }, { "fan2", SENSOR_TYPE_FANSPEED }, @@ -289,7 +289,7 @@ static int sensors_load_conf (void) FILE *fh = NULL; featurelist_t *last_feature = NULL; - + const sensors_chip_name *chip; int chip_num;