Reorder code to avoid a divide by zero when there are no sensors.
authorjsg <jsg@openbsd.org>
Fri, 29 Jul 2016 04:41:53 +0000 (04:41 +0000)
committerjsg <jsg@openbsd.org>
Fri, 29 Jul 2016 04:41:53 +0000 (04:41 +0000)
commitddc4b9731eabf3b8744985ea4539aeb62cb6c70c
treed583831704aba576b81d0ad296411416c0c68ce1
parenta2e7ce2e7e7bf515b258c93881714cc7fbbb0dd4
Reorder code to avoid a divide by zero when there are no sensors.
Tested by and ok mglocker@
sys/arch/macppc/dev/thermal.c