diff options
| author | Nate Lawson <njl@FreeBSD.org> | 2005-05-12 22:35:08 +0000 |
|---|---|---|
| committer | Nate Lawson <njl@FreeBSD.org> | 2005-05-12 22:35:08 +0000 |
| commit | a6761eb377f465a7601da3b55036fb5f968a252e (patch) | |
| tree | 06d915ab37b652057a176c7cd8d17f0d0c95e4df /sys/dev/acpica | |
| parent | 83ae2ce161d394de2369a7540509f30609806ba1 (diff) | |
Notes
Diffstat (limited to 'sys/dev/acpica')
| -rw-r--r-- | sys/dev/acpica/acpi_ec.c | 4 |
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: |
