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

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);
}