From: Christopher Michael Date: Mon, 17 May 2010 00:11:55 +0000 (+0000) Subject: For unknown devices, set the event's device name to the name of the X-Git-Tag: submit/efl/20131021.015651~7461 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08fde98a0693e1d12899148e87d5c67bee9d3195;p=platform%2Fupstream%2Fenlightenment.git 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 --- diff --git a/src/bin/e_acpi.c b/src/bin/e_acpi.c index 7063f8d..d68a359 100644 --- a/src/bin/e_acpi.c +++ b/src/bin/e_acpi.c @@ -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; }