HomeFreeBSD

Check error return from reading integer part of temperature.

Description

Check error return from reading integer part of temperature.

There's a very remote, but possible, chance that the integer part read will
fail, but the fraction read succeeds, at which point the reported temperature is
invalid.

Reported by: Matthew Rezny
MFC after: 3 weeks

Details

Provenance
jhibbitsAuthored on
Parents
rS273015: Expect nice_err to fail on FreeBSD with unprivileged users
Branches
Unknown
Tags
Unknown

Event Timeline