1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-30 16:51:41 +00:00

Fix a small locking error.

Submitted by:	Anish Mistry <mistry.7@osu.edu>
This commit is contained in:
Philip Paeps 2005-04-04 10:21:20 +00:00
parent 9370c333ce
commit b308de8beb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144623

View File

@ -218,9 +218,10 @@ acpi_fujitsu_attach(device_t dev)
acpi_fujitsu_notify_handler, sc);
/* Snag our default values for the buttons / button states. */
if (!acpi_fujitsu_init(sc)) {
ACPI_SERIAL_BEGIN(fujitsu);
if (!acpi_fujitsu_init(sc))
device_printf(dev, "Couldn't initialize button states!\n");
}
ACPI_SERIAL_END(fujitsu);
return (0);
}