diff options
author | msmith <msmith@FreeBSD.org> | 2001-07-21 10:24:37 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2001-07-21 10:24:37 +0000 |
commit | a67f578d2b31873dd3b9906157d4998436a6b327 (patch) | |
tree | 1fc3787f42a591447b248bc0c7af5b8d53fd16a7 /sys/dev/acpica/acpi_resource.c | |
parent | bd6df0c72b8ada00c19e59bb38c04b39400a26b4 (diff) | |
download | FreeBSD-src-a67f578d2b31873dd3b9906157d4998436a6b327.zip FreeBSD-src-a67f578d2b31873dd3b9906157d4998436a6b327.tar.gz |
Convert from acpi_strerror() to AcpiFormatException()
Fix dangling include of the dear departed acpi_ecreg.h
Diffstat (limited to 'sys/dev/acpica/acpi_resource.c')
-rw-r--r-- | sys/dev/acpica/acpi_resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_resource.c b/sys/dev/acpica/acpi_resource.c index db27675..615c3d6 100644 --- a/sys/dev/acpica/acpi_resource.c +++ b/sys/dev/acpica/acpi_resource.c @@ -67,7 +67,7 @@ acpi_parse_resources(device_t dev, ACPI_HANDLE handle, struct acpi_parse_resourc */ if (((status = acpi_GetIntoBuffer(handle, AcpiGetPossibleResources, &buf)) != AE_OK) && ((status = acpi_GetIntoBuffer(handle, AcpiGetCurrentResources, &buf)) != AE_OK)) { - device_printf(dev, "can't fetch ACPI resources - %s\n", acpi_strerror(status)); + device_printf(dev, "can't fetch ACPI resources - %s\n", AcpiFormatException(status)); return_ACPI_STATUS(status); } DEBUG_PRINT(TRACE_RESOURCES, ("got %d bytes of resources\n", buf.Length)); |