summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2005-08-26 02:21:02 +0000
committerkan <kan@FreeBSD.org>2005-08-26 02:21:02 +0000
commite404ff21aafc41a1b545357dbc1ca990edc67930 (patch)
tree31aaa12d72779e0c1333df5a68febe38ce0f9573
parent2263ae4a8d4b1cd3e37f307ad991e0c99a9106ef (diff)
downloadFreeBSD-src-e404ff21aafc41a1b545357dbc1ca990edc67930.zip
FreeBSD-src-e404ff21aafc41a1b545357dbc1ca990edc67930.tar.gz
Unbreak compiles with ACPI_DEBUG.
-rw-r--r--sys/dev/acpica/acpi_thermal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi_thermal.c b/sys/dev/acpica/acpi_thermal.c
index d49fdad..05afb64 100644
--- a/sys/dev/acpica/acpi_thermal.c
+++ b/sys/dev/acpica/acpi_thermal.c
@@ -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),
OpenPOWER on IntegriCloud