forked from enlightenment/efl
eeze: Fix return value for eeze_udev_syspath_get_sysnum
Summary: oopsie !! Big fat copy/paste error :( This fixes the return value for the eeze_udev_syspath_get_sysnum function @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
25c3570294
commit
5fbe3f1f70
|
@ -323,10 +323,10 @@ eeze_udev_syspath_get_sysnum(const char *syspath)
|
|||
int ret = -1;
|
||||
|
||||
if (!syspath)
|
||||
return NULL;
|
||||
return -1;
|
||||
|
||||
if (!(device = _new_device(syspath)))
|
||||
return NULL;
|
||||
return -1;
|
||||
|
||||
if ((test = udev_device_get_sysnum(device)))
|
||||
ret = atoi(test);
|
||||
|
|
Loading…
Reference in New Issue