summaryrefslogtreecommitdiff
path: root/libudev/libudev.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-04-24 00:22:23 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-04-24 00:22:23 +0200
commit8958da13c72024c4eaa2996b86fce2959e452db4 (patch)
tree4edf78daf3d43092edf7e91ff5e9943ccd6aa3b6 /libudev/libudev.c
parentc7c32e9c9835a0bdaee931f33ac0fc86a1e4c415 (diff)
libudev: list - use bit flags for 'sort' and 'unique'
Diffstat (limited to 'libudev/libudev.c')
-rw-r--r--libudev/libudev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libudev/libudev.c b/libudev/libudev.c
index edc24e2fca..6b5c5e9f84 100644
--- a/libudev/libudev.c
+++ b/libudev/libudev.c
@@ -458,7 +458,7 @@ struct udev_list_entry *udev_add_property(struct udev *udev, const char *key, co
udev_list_entry_delete(list_entry);
return NULL;
}
- return udev_list_entry_add(udev, &udev->properties_list, key, value, 1, 0);
+ return udev_list_entry_add(udev, &udev->properties_list, key, value, UDEV_LIST_UNIQUE);
}
struct udev_list_entry *udev_get_properties_list_entry(struct udev *udev)