[PATCH] sensord: wrong error message with /proc or /sys not accessible

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

 



> The problem is that the library returns a negative number if there is
> an error, and the error numbers in the .h files are not negative. Thus
> one of the operand of the comparison should be negated. Patch to fix
> that is attached.

Applied, thanks.

> BTW, on 2.6 kernels the sensors informations are in /sys and not
> /proc. The message may be changed into:
> 
>   Error reading /proc or /sys; modules probably not loaded

True. I would certainly accept a patch that does this ;)

-- 
Jean Delvare
http://khali.linux-fr.org/



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

  Powered by Linux