modprobe: treat tabs in modules.dep as delimiters too. closes bug 567

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2009-08-14 02:10:54 +02:00
parent 007c6fc677
commit 5da42fce51

View File

@ -344,7 +344,7 @@ static void load_modules_dep(void)
G.num_unresolved_deps--;
llist_add_to(&m->deps, xstrdup(tokens[0]));
if (tokens[1])
string_to_llist(tokens[1], &m->deps, " ");
string_to_llist(tokens[1], &m->deps, " \t");
} else
DBG("skipping dep line");
}