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

Warner Losh imp at FreeBSD.org
Thu Dec 21 16:57:27 PST 2006


imp         2006-12-22 00:57:26 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/acpica       acpi_battery.c 
  Log:
  ACPIIO_BATT_GET_UNITS would always return ENXIO.  However, it should never
  return an error since it returns a count of battery devices in the system.
  Set it to 0 explicitly, since it is the only switch branch that doesn't set
  it.
  
  # I guess no one uses it.
  
  Revision  Changes    Path
  1.24      +1 -0      src/sys/dev/acpica/acpi_battery.c


More information about the cvs-src mailing list