a problem with lm-sensor 2.10.7.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 10 Nov 2008, Sergio Gutierrez Verde wrote:
> double w83781d(const sensors_chip_name *name)
> {
>  double cur;
>
>  sensors_get_feature(*chip_name,SENSORS_W83781D_TEMP2,&cur)
>  return(cur);
> }

Since you used "*name" in the argument, probably

sensors_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





[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux