forked from enlightenment/efl
parent
8b58afe33a
commit
0cae05c2a8
|
@ -16,7 +16,7 @@ _walk_parents_for_attr(struct udev_device *device, const char *sysattr, const ch
|
||||||
struct udev_device *parent, *child = device;
|
struct udev_device *parent, *child = device;
|
||||||
const char *test;
|
const char *test;
|
||||||
|
|
||||||
if ((test = udev_device_get_sysattr_value(device, sysattr))
|
if ((test = udev_device_get_sysattr_value(device, sysattr)))
|
||||||
return 1;
|
return 1;
|
||||||
parent = udev_device_get_parent(child);
|
parent = udev_device_get_parent(child);
|
||||||
for (; parent; child = parent, parent = udev_device_get_parent(child))
|
for (; parent; child = parent, parent = udev_device_get_parent(child))
|
||||||
|
|
Loading…
Reference in New Issue