Date: Fri, 22 Dec 2006 00:57:26 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/acpica acpi_battery.c Message-ID: <200612220057.kBM0vRKO077512@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612220057.kBM0vRKO077512>
