1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-23 16:01:42 +00:00

Unbreak compiles with ACPI_DEBUG.

This commit is contained in:
Alexander Kabaev 2005-08-26 02:21:02 +00:00
parent 753d6c0327
commit 83582626ad
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149482

View File

@ -423,6 +423,8 @@ acpi_tz_get_temperature(struct acpi_tz_softc *sc)
int temp;
ACPI_STATUS status;
ACPI_FUNCTION_NAME ("acpi_tz_get_temperature");
status = acpi_GetInteger(sc->tz_handle, "_TMP", &temp);
if (ACPI_FAILURE(status)) {
ACPI_VPRINT(sc->tz_dev, acpi_device_get_parent_softc(sc->tz_dev),