- Fix incorrect array declaration that was causing the stack overflow

on some (most?) Asus laptops.

Discussed with:	rpaulo
Approved by:	kib (mentor)
MFC after:	2 weeks
This commit is contained in:
Stanislav Sedov 2008-12-27 20:48:11 +00:00
parent b63904a132
commit d85f3935ec

View File

@ -976,7 +976,7 @@ acpi_asus_sysctl_set(struct acpi_asus_softc *sc, int method, int arg)
{
ACPI_STATUS status = AE_OK;
ACPI_OBJECT_LIST acpiargs;
ACPI_OBJECT acpiarg[0];
ACPI_OBJECT acpiarg[1];
ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
ACPI_SERIAL_ASSERT(asus);