modprobe: treat tabs in modules.dep as delimiters too. closes bug 567
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 14 Aug 2009 00:10:54 +0000 (02:10 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 14 Aug 2009 00:10:54 +0000 (02:10 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
modutils/modprobe.c

index bef657929a15a4aa4ff0eda6cc24a02cf10846fe..0d65d5f19997940dcf8ff7db52421b1b16402879 100644 (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");
        }