diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-11-04 20:19:01 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-11-04 20:19:01 +0100 |
commit | 1e78dcbe51419124846e1f35e540cb0253362231 (patch) | |
tree | 8569be830565c3093184bcfbfa07605f918846f3 /udev/lib/libudev-device.c | |
parent | a0e17034eecf3933223503377b5e3f4c4eac0e86 (diff) |
fix list handling in enumerate and rules file sorting
Diffstat (limited to 'udev/lib/libudev-device.c')
-rw-r--r-- | udev/lib/libudev-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/lib/libudev-device.c b/udev/lib/libudev-device.c index e9d040cdfc..eda3f5d97e 100644 --- a/udev/lib/libudev-device.c +++ b/udev/lib/libudev-device.c @@ -985,7 +985,7 @@ struct udev_list_entry *udev_device_add_property(struct udev_device *udev_device list_entry = udev_device_get_properties_list_entry(udev_device); list_entry = udev_list_entry_get_by_name(list_entry, key); if (list_entry != NULL) - udev_list_entry_remove(list_entry); + udev_list_entry_delete(list_entry); return NULL; } return udev_list_entry_add(udev_device->udev, &udev_device->properties_list, key, value, 1, 0); |