strcpy had the wrong arg order.

This commit is contained in:
Fredrik Holmqvist 2014-08-28 22:01:25 +02:00
parent f63a0d873e
commit 49b9fce5ec

View File

@ -97,7 +97,7 @@ globalGPEHandler(UINT32 eventType, ACPI_HANDLE device, UINT32 eventNumber,
ACPI_STATUS status = AcpiNsHandleToPathname(device, &path);
if (ACPI_FAILURE(status))
strcpy("(missing)", deviceName);
strcpy(deviceName, "(missing)");
switch (eventType) {
case ACPI_EVENT_TYPE_GPE: