forked from enlightenment/efl
ecore-drm: pass appropriate arguments to eldbus_message_arguments_get(), so that it can be return as success in _cb_device_resumed().
Summary: it seems eldbus_message_arguments_get() should be received all arguments to return success. @fix Reviewers: devilhorns, gwanglim Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1703
This commit is contained in:
parent
5106ab900b
commit
0482a0e686
|
@ -81,7 +81,8 @@ static void
|
|||
_cb_device_resumed(void *ctxt EINA_UNUSED, const Eldbus_Message *msg)
|
||||
{
|
||||
const char *errname, *errmsg;
|
||||
uint32_t maj;
|
||||
uint32_t maj, min;
|
||||
int fd;
|
||||
|
||||
if (eldbus_message_error_get(msg, &errname, &errmsg))
|
||||
{
|
||||
|
@ -89,7 +90,7 @@ _cb_device_resumed(void *ctxt EINA_UNUSED, const Eldbus_Message *msg)
|
|||
return;
|
||||
}
|
||||
|
||||
if (eldbus_message_arguments_get(msg, "u", &maj))
|
||||
if (eldbus_message_arguments_get(msg, "uuh", &maj, &min, &fd))
|
||||
{
|
||||
/* if (maj == DRM_MAJOR) */
|
||||
/* { */
|
||||
|
|
Loading…
Reference in New Issue