devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=9b24d378a39850f20bc84a0a533bb915897c3ef6
commit 9b24d378a39850f20bc84a0a533bb915897c3ef6 Author: Chris Michael <cp.mich...@samsung.com> Date: Wed Feb 11 15:42:02 2015 -0500 ecore-drm: Print error when taking control of a device fails Summary: If we send a dbus blocking message, and it returns an error then we should be printing out this error message @fix Signed-off-by: Chris Michael <cp.mich...@samsung.com> --- src/lib/ecore_drm/ecore_drm_dbus.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/ecore_drm/ecore_drm_dbus.c b/src/lib/ecore_drm/ecore_drm_dbus.c index 2e745eb..a39770d 100644 --- a/src/lib/ecore_drm/ecore_drm_dbus.c +++ b/src/lib/ecore_drm/ecore_drm_dbus.c @@ -265,6 +265,7 @@ _ecore_drm_dbus_device_take_no_pending(uint32_t major, uint32_t minor, Eina_Bool Eldbus_Proxy *proxy; Eldbus_Message *msg, *reply; Eina_Bool b; + const char *errname, *errmsg; int fd; /* try to get the Session proxy */ @@ -284,6 +285,11 @@ _ecore_drm_dbus_device_take_no_pending(uint32_t major, uint32_t minor, Eina_Bool return -1; reply = eldbus_proxy_send_and_block(proxy, msg, timeout); + if (eldbus_message_error_get(msg, &errname, &errmsg)) + { + ERR("Eldbus Message Error: %s %s", errname, errmsg); + return -1; + } if (!eldbus_message_arguments_get(reply, "hb", &fd, &b)) return -1; --