Re: sysctl sensor error handling

2019-02-21 Thread Sebastian Benoit
Alexander Bluhm(alexander.bl...@gmx.net) on 2019.02.21 15:55:42 +0100: > Hi, > > I had an hanging sysctl(8) that was compiled with an obsolete header > file. Struct sensordev was too small, so sysctl(2) failed with > ENOMEM. But the sysctl(8) program continued with unitialized memory. > > # sys

sysctl sensor error handling

2019-02-21 Thread Alexander Bluhm
Hi, I had an hanging sysctl(8) that was compiled with an obsolete header file. Struct sensordev was too small, so sysctl(2) failed with ENOMEM. But the sysctl(8) program continued with unitialized memory. # sysctl hw ... hw.diskcount=2 hw.sensors..temp0=33.00 degC --> here it hangs in an endles