OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Marco Peereboom (marcocvs.openbsd.org)
Date: Tue Aug 05 2008 - 12:01:06 CDT


CVSROOT: /cvs
Module name: src
Changes by: marcocvs.openbsd.org 2008/08/05 11:01:06

Modified files:
        sys/dev/acpi : acpibat.c

Log message:
Fix spurious 0 values on batteries seen on laptopts that have an embedded
controller.

Found, diagnosed and patch from Stefan Sperling <stspstsp.name>
Minor KNF changes while here.

Tested by many on a variaty of IBM laptops and others with and without
acpiec.

ok deraadt