projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5df0d9
)
libudev: device - fix typo in udev_device_get_sysattr_list_entry()
author
Tom Gundersen
<teg@jklm.no>
Wed, 17 Jun 2015 19:57:25 +0000
(21:57 +0200)
committer
Tom Gundersen
<teg@jklm.no>
Wed, 17 Jun 2015 20:03:34 +0000
(22:03 +0200)
We were adding the attributes to the wrong list.
src/libudev/libudev-device.c
patch
|
blob
|
history
diff --git
a/src/libudev/libudev-device.c
b/src/libudev/libudev-device.c
index
c27b01d
..
9a8d682
100644
(file)
--- 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->
propertie
s, sysattr, NULL);
+ udev_list_entry_add(&udev_device->
sysattr
s, sysattr, NULL);
udev_device->sysattrs_read = true;
}