summaryrefslogtreecommitdiffstats
path: root/sbin/ggate/Makefile
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2007-10-09 07:51:46 +0000
committernjl <njl@FreeBSD.org>2007-10-09 07:51:46 +0000
commit8e21b1f738e3a7d52ec50aa5730787013a76a4d5 (patch)
tree2873564f13ec9f2f3ee34ad2efb29619414159a6 /sbin/ggate/Makefile
parent8232e57ef030a255ea897c975899b89dd23e5b19 (diff)
downloadFreeBSD-src-8e21b1f738e3a7d52ec50aa5730787013a76a4d5.zip
FreeBSD-src-8e21b1f738e3a7d52ec50aa5730787013a76a4d5.tar.gz
When the EC times out (common with Compaqs), it may report a design
voltage of 0. This can result in a divide by zero trap. Add a guard for this case. The value of lfcap is checked in acpi_battery_bif_valid() just before this, so it is safe. Reportd by: sam Approved by: re MFC after: 3 days
Diffstat (limited to 'sbin/ggate/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud