diff options
Diffstat (limited to 'udev_rules_parse.c')
-rw-r--r-- | udev_rules_parse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/udev_rules_parse.c b/udev_rules_parse.c index 81c24b9cc1..3afc31a0fa 100644 --- a/udev_rules_parse.c +++ b/udev_rules_parse.c @@ -757,11 +757,10 @@ int udev_rules_init(struct udev_rules *rules, int resolve_names) if (name_base == NULL) continue; - if (strcmp(name_base, dyn_base) > 0) { - list_move_tail(&dyn_loop->node, &name_loop->node); + if (strcmp(name_base, dyn_base) > 0) break; - } } + list_move_tail(&dyn_loop->node, &name_loop->node); } /* parse list of files */ @@ -787,3 +786,4 @@ void udev_rules_cleanup(struct udev_rules *rules) rules->buf = NULL; } } + |