aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2005-05-12 22:35:08 +0000
committerNate Lawson <njl@FreeBSD.org>2005-05-12 22:35:08 +0000
commita6761eb377f465a7601da3b55036fb5f968a252e (patch)
tree06d915ab37b652057a176c7cd8d17f0d0c95e4df /sys/dev/acpica
parent83ae2ce161d394de2369a7540509f30609806ba1 (diff)
Notes
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi_ec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi_ec.c b/sys/dev/acpica/acpi_ec.c
index 35ea36c497ec1..b474a10e6677b 100644
--- a/sys/dev/acpica/acpi_ec.c
+++ b/sys/dev/acpica/acpi_ec.c
@@ -489,11 +489,11 @@ acpi_ec_probe(device_t dev)
if (ACPI_FAILURE(status)) {
device_printf(dev, "can't evaluate _GPE - %s\n",
AcpiFormatException(status));
- return (ENXIO);
+ goto out;
}
obj = (ACPI_OBJECT *)buf.Pointer;
if (obj == NULL)
- return (ENXIO);
+ goto out;
switch (obj->Type) {
case ACPI_TYPE_INTEGER: