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.c | |
parent | a0e17034eecf3933223503377b5e3f4c4eac0e86 (diff) |
fix list handling in enumerate and rules file sorting
Diffstat (limited to 'udev/lib/libudev.c')
-rw-r--r-- | udev/lib/libudev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/lib/libudev.c b/udev/lib/libudev.c index f427151f40..2d8b7754ff 100644 --- a/udev/lib/libudev.c +++ b/udev/lib/libudev.c @@ -370,7 +370,7 @@ struct udev_list_entry *udev_add_property(struct udev *udev, const char *key, co list_entry = udev_get_properties_list_entry(udev); 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, &udev->properties_list, key, value, 1, 0); |