aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modutils/modprobe-small.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c
index ac08ba7d7..06c45742b 100644
--- a/modutils/modprobe-small.c
+++ b/modutils/modprobe-small.c
@@ -444,8 +444,10 @@ static module_info* find_alias(const char *alias)
444 if (!modinfo[i].aliases) { 444 if (!modinfo[i].aliases) {
445 parse_module(&modinfo[i], modinfo[i].pathname); 445 parse_module(&modinfo[i], modinfo[i].pathname);
446 } 446 }
447 if (result) 447 if (result) {
448 i++;
448 continue; 449 continue;
450 }
449 /* "alias1 symbol:sym1 alias2 symbol:sym2" */ 451 /* "alias1 symbol:sym1 alias2 symbol:sym2" */
450 desc = str_2_list(modinfo[i].aliases); 452 desc = str_2_list(modinfo[i].aliases);
451 /* Does matching substring exist? */ 453 /* Does matching substring exist? */