a problem with lm-sensor 2.10.7.
It's a fail in the transcription, the sensors_chip_name is the same in the two calls, sorry. The right code is the yesterday's code changing this extract:
double w83781d(const sensors_chip_name *chip_name)
{
double cur; sensors_get_feature(*chip_name,SENSORS_W83781D_TEMP2,&cur); return(cur);
}
Moreover, with this error, the compiler, I think, would show at least a warning message, and the problem it's in execution time, not in compiler time. Thanks!
Quoted 12 lines · Sergio Gutierrez Verde
Quoted 10 lines
double
w83781d(const sensors_chip_name *name)
{> > double cur;Quoted 1 line
Quoted 1 line
sensors_get_feature(*chip_name,SENSORS_W83781D_TEMP2,&cur)return(cur);
}
Since you used "*name" in the argument, probablysensors_get_feature(*name,SENSORS_W83781D_TEMP2,&cur)
would work better. What you are doing now is probably equal to>>sensors_get_feature(NULL,SENSORS_W83781D_TEMP2,&cur)which would likely cause the error.
Matt Roberds
_________________________________________________________________
Ahora con Internet Explorer 7, llévate gratis un guiño personalizado
http://www.vivelive.com/ieak7/
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors