cvs commit: src/sys/dev/acpica acpi_battery.c

Nate Lawson njl at FreeBSD.org
Thu Jul 28 18:19:50 GMT 2005


njl         2005-07-28 18:19:50 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/acpica       acpi_battery.c 
  Log:
  Zero the _BST, _BIF, and battinfo allocations.  This is needed since we
  later sum capacities for all batteries, even those that weren't actually
  present.  We only need to do this for _BST but do it for all of them.
  
  Reported by:    Eric Anderson
  MFC after:      1 day
  
  Revision  Changes    Path
  1.15      +3 -3      src/sys/dev/acpica/acpi_battery.c


More information about the cvs-src mailing list