In sysctl_hwchargestop() check that hw_battery_setchargestop is set
authorclaudio <claudio@openbsd.org>
Sun, 21 May 2023 12:47:54 +0000 (12:47 +0000)
committerclaudio <claudio@openbsd.org>
Sun, 21 May 2023 12:47:54 +0000 (12:47 +0000)
commitb93dbf91200a6417388b139539b398085fdeb1b7
tree433b22a4ab830724b917061bee36d4a0a675d1ca
parent62eda429c3ebbf2d4cfd4b3be75d4677a9e2ec82
In sysctl_hwchargestop() check that hw_battery_setchargestop is set
and not hw_battery_setchargestart.
OK kettenis@
sys/kern/kern_sysctl.c