diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/ecore_drm/ecore_drm_dbus.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_dbus.c b/src/lib/ecore_drm/ecore_drm_dbus.c index 2e745ebbac..a39770df2f 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 | |||
265 | Eldbus_Proxy *proxy; | 265 | Eldbus_Proxy *proxy; |
266 | Eldbus_Message *msg, *reply; | 266 | Eldbus_Message *msg, *reply; |
267 | Eina_Bool b; | 267 | Eina_Bool b; |
268 | const char *errname, *errmsg; | ||
268 | int fd; | 269 | int fd; |
269 | 270 | ||
270 | /* try to get the Session proxy */ | 271 | /* 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 | |||
284 | return -1; | 285 | return -1; |
285 | 286 | ||
286 | reply = eldbus_proxy_send_and_block(proxy, msg, timeout); | 287 | reply = eldbus_proxy_send_and_block(proxy, msg, timeout); |
288 | if (eldbus_message_error_get(msg, &errname, &errmsg)) | ||
289 | { | ||
290 | ERR("Eldbus Message Error: %s %s", errname, errmsg); | ||
291 | return -1; | ||
292 | } | ||
287 | 293 | ||
288 | if (!eldbus_message_arguments_get(reply, "hb", &fd, &b)) | 294 | if (!eldbus_message_arguments_get(reply, "hb", &fd, &b)) |
289 | return -1; | 295 | return -1; |