For unknown devices, set the event's device name to the name of the

device returned in the ACPI message rather than a hard-coded 'unknown'.



SVN revision: 48930
This commit is contained in:
Christopher Michael 2010-05-17 00:11:55 +00:00
parent 3c8d951719
commit 08fde98a06
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ _e_acpi_cb_server_data(void *data __UNUSED__, int type __UNUSED__, void *event)
}
else
{
acpi_event->device = eina_stringshare_add("unknown");
acpi_event->device = eina_stringshare_add(device);
acpi_event->type = E_ACPI_TYPE_UNKNOWN;
}