summaryrefslogtreecommitdiff
path: root/arg.h
diff options
context:
space:
mode:
authordsp <dsp@2f30.org>2019-10-31 22:50:32 -0600
committerAaron Marcher <me@drkhsh.at>2020-11-30 21:23:48 +0100
commit3fc2872d1b3e62903a4af49326d42c97c11911d5 (patch)
tree7f494fe20fb7954137beaf47c3b025644d216c74 /arg.h
parent3ac985eb0338773cfb1d1446fc0751f1f2afea94 (diff)
downloadslstatus-3fc2872d1b3e62903a4af49326d42c97c11911d5.tar.gz
Fix temperature reporting on OpenBSD
On OpenBSD although the formula is correct due to integer division a temperature of for example 54 celsius appears as 5. this patch first treats it as a floating point op before retaining the non decimal digits
Diffstat (limited to 'arg.h')
0 files changed, 0 insertions, 0 deletions