forked from enlightenment/efl
Fix compile error with variable typo
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
128a355f17
commit
521260b916
|
@ -256,14 +256,13 @@ EAPI Eina_Bool
|
|||
ecore_drm_device_master_get(Ecore_Drm_Device *dev)
|
||||
{
|
||||
drm_magic_t mag;
|
||||
int gret = 0, aret = 0;
|
||||
|
||||
/* check for valid device */
|
||||
if ((!dev) || (dev->fd < 0)) return EINA_FALSE;
|
||||
|
||||
/* get if we are master or not */
|
||||
if ((drmGetMagic(dev->fd, &mag) == 0) &&
|
||||
(drmAuthMagic(dev->fd, msg) == 0))
|
||||
(drmAuthMagic(dev->fd, mag) == 0))
|
||||
return EINA_TRUE;
|
||||
|
||||
return EINA_FALSE;
|
||||
|
|
Loading…
Reference in New Issue