]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
jedec_ts(4) uses a sysctl format specifier of "IK4", to indicate that it
authorrpokala <rpokala@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 8 Feb 2018 09:24:23 +0000 (09:24 +0000)
committerrpokala <rpokala@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 8 Feb 2018 09:24:23 +0000 (09:24 +0000)
commit1083ba8345743cc13d95100f510570ab00fbed09
tree259bb96d0bd4a9be6e420ffee70d3f77c9ef9e77
parent6d705fc29208abefb57858837cdc7ef5f7ab7c24
jedec_ts(4) uses a sysctl format specifier of "IK4", to indicate that it
reports milliKelvin. However, sysctl(8) on stable/10 only knows about "IK",
without a numeric suffix, which represents deciKelvin.

Adjust the format specifier, and round the temperature value reported.

Reviewed by: avg
Sponsored by: Panasas
Differential Revision: https://reviews.freebsd.org/D14055

git-svn-id: svn://svn.freebsd.org/base/stable/10@329015 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/jedec_ts/jedec_ts.c