Re: [hackers] [slstatus][PATCH] Fix temperature reporting on OpenBSD.

2020-11-30 Thread Aaron Marcher
A little bit late, but merged. Thanks! On 19-10-31 Thu, dsp wrote: Hey list! On OpenBSD i noticed that if you set the temperature component to be printed it will only show the first digit due to the integer division. So for example a temperature of 54 C shows as 5. This patch first treats it as

[hackers] [slstatus][PATCH] Fix temperature reporting on OpenBSD.

2019-10-31 Thread dsp
Hey list! On OpenBSD i noticed that if you set the temperature component to be printed it will only show the first digit due to the integer division. So for example a temperature of 54 C shows as 5. This patch first treats it as a float before truncating the non decimal digits. From 407f7477bc9