diff options
author | Tom Gundersen <teg@jklm.no> | 2015-06-17 21:57:25 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-06-17 22:03:34 +0200 |
commit | 7bb092142e2022edcc9958ce1bd50f59d01c5b6f (patch) | |
tree | ec94ac8cdb33a709c4d0edc1a2058664b68e80c4 /src | |
parent | d5df0d950f8bc91633800476947b5f856a10fc08 (diff) |
libudev: device - fix typo in udev_device_get_sysattr_list_entry()
We were adding the attributes to the wrong list.
Diffstat (limited to 'src')
-rw-r--r-- | src/libudev/libudev-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/libudev-device.c b/src/libudev/libudev-device.c index c27b01db96..9a8d682107 100644 --- a/src/libudev/libudev-device.c +++ b/src/libudev/libudev-device.c @@ -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; } |