mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-14 01:57:27 +03:00
libudev: device - fix typo in udev_device_get_sysattr_list_entry()
We were adding the attributes to the wrong list.
This commit is contained in:
parent
d5df0d950f
commit
7bb092142e
@ -871,7 +871,7 @@ _public_ struct udev_list_entry *udev_device_get_sysattr_list_entry(struct udev_
|
||||
udev_list_cleanup(&udev_device->sysattrs);
|
||||
|
||||
FOREACH_DEVICE_SYSATTR(udev_device->device, sysattr)
|
||||
udev_list_entry_add(&udev_device->properties, sysattr, NULL);
|
||||
udev_list_entry_add(&udev_device->sysattrs, sysattr, NULL);
|
||||
|
||||
udev_device->sysattrs_read = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user