diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-04-24 00:22:23 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-04-24 00:22:23 +0200 |
commit | 8958da13c72024c4eaa2996b86fce2959e452db4 (patch) | |
tree | 4edf78daf3d43092edf7e91ff5e9943ccd6aa3b6 /libudev/libudev-queue.c | |
parent | c7c32e9c9835a0bdaee931f33ac0fc86a1e4c415 (diff) |
libudev: list - use bit flags for 'sort' and 'unique'
Diffstat (limited to 'libudev/libudev-queue.c')
-rw-r--r-- | libudev/libudev-queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libudev/libudev-queue.c b/libudev/libudev-queue.c index 75c5b2425e..ead05c5184 100644 --- a/libudev/libudev-queue.c +++ b/libudev/libudev-queue.c @@ -454,7 +454,7 @@ struct udev_list_entry *udev_queue_get_queued_list_entry(struct udev_queue *udev break; if (len > 0) { - udev_list_entry_add(udev_queue->udev, &udev_queue->queue_list, syspath, seqnum_str, 0, 0); + udev_list_entry_add(udev_queue->udev, &udev_queue->queue_list, syspath, seqnum_str, 0); } else { udev_list_entry_foreach(list_entry, udev_list_get_entry(&udev_queue->queue_list)) { if (strcmp(seqnum_str, udev_list_entry_get_value(list_entry)) == 0) { @@ -508,7 +508,7 @@ struct udev_list_entry *udev_queue_get_failed_list_entry(struct udev_queue *udev util_strscpyl(filename, sizeof(filename), syspath, "/uevent", NULL); if (stat(filename, &statbuf) != 0) continue; - udev_list_entry_add(udev_queue->udev, &udev_queue->failed_list, syspath, NULL, 0, 0); + udev_list_entry_add(udev_queue->udev, &udev_queue->failed_list, syspath, NULL, 0); } closedir(dir); return udev_list_get_entry(&udev_queue->failed_list); |