summaryrefslogtreecommitdiffstats
path: root/sys/i386/acpica
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-08-24 17:53:25 +0000
committernjl <njl@FreeBSD.org>2004-08-24 17:53:25 +0000
commit8881707b6530a84a439d80bc940637716489433d (patch)
tree5366f789c24a4acab21104c4c7594135e751a822 /sys/i386/acpica
parent23deb55d5f0db9afbf5a0c8c119f34bd5d3741bd (diff)
downloadFreeBSD-src-8881707b6530a84a439d80bc940637716489433d.zip
FreeBSD-src-8881707b6530a84a439d80bc940637716489433d.tar.gz
Be sure to always unlock the sx lock when exiting the sysctl function.
MFC after: 3 days
Diffstat (limited to 'sys/i386/acpica')
-rw-r--r--sys/i386/acpica/acpi_panasonic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/acpica/acpi_panasonic.c b/sys/i386/acpica/acpi_panasonic.c
index 348ec70..723682c 100644
--- a/sys/i386/acpica/acpi_panasonic.c
+++ b/sys/i386/acpica/acpi_panasonic.c
@@ -223,9 +223,9 @@ acpi_panasonic_sysctl(SYSCTL_HANDLER_ARGS)
/* Set the new value via the appropriate function. */
error = handler(sc->handle, HKEY_SET, &arg);
- ACPI_SERIAL_END(panasonic);
out:
+ ACPI_SERIAL_END(panasonic);
return (error);
}
OpenPOWER on IntegriCloud