diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-18 19:27:38 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-18 19:27:38 +0200 |
commit | eb8837e15cdb9ad8f6840406f6ef0c8cfd702b98 (patch) | |
tree | e34c9be8c376891a41a4ea6261ce2550ee9be927 /udev/udev-rules.c | |
parent | f1128767cbc805461a8f2e54810146c562d54524 (diff) |
udev_list_cleanup() -> udev_list_cleanup_entries()
Diffstat (limited to 'udev/udev-rules.c')
-rw-r--r-- | udev/udev-rules.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/udev-rules.c b/udev/udev-rules.c index a9793f4e8d..ff61574ac6 100644 --- a/udev/udev-rules.c +++ b/udev/udev-rules.c @@ -970,7 +970,7 @@ int udev_rules_get_name(struct udev_rules *rules, struct udev_event *event) event->run_final = 1; if (rule->run.operation == KEY_OP_ASSIGN || rule->run.operation == KEY_OP_ASSIGN_FINAL) { info(event->udev, "reset run list\n"); - udev_list_cleanup(event->udev, &event->run_list); + udev_list_cleanup_entries(event->udev, &event->run_list); } dbg(event->udev, "add run '%s'\n", key_val(rule, &rule->run)); list_entry = udev_list_entry_add(event->udev, &event->run_list, @@ -1050,7 +1050,7 @@ int udev_rules_get_run(struct udev_rules *rules, struct udev_event *event) if (rule->run.operation == KEY_OP_ASSIGN || rule->run.operation == KEY_OP_ASSIGN_FINAL) { info(event->udev, "reset run list\n"); - udev_list_cleanup(event->udev, &event->run_list); + udev_list_cleanup_entries(event->udev, &event->run_list); } dbg(event->udev, "add run '%s'\n", key_val(rule, &rule->run)); list_entry = udev_list_entry_add(event->udev, &event->run_list, |