HomeFreeBSD

extres/regulator: Switch boot_on/always_on sysctl to uint8

Description

extres/regulator: Switch boot_on/always_on sysctl to uint8

These are represented as booleans on the kernel-side, but were being exposed
as int. This was causing some funky things to happen when read later with
sysctl(8), e.g. randomly reading super-high when the value was actually
'0'/false.

Reviewed by: manu

Details

Provenance
kevansAuthored on
Reviewer
manu
Parents
rS335219: objdump.1: manually apply r229046 to the rendered man page
Branches
Unknown
Tags
Unknown