diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-14 02:10:54 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-14 02:10:54 +0200 |
commit | 5da42fce51a9913e2c4359b71f4184dba0ad4310 (patch) | |
tree | 62b4c273c8b08c5e80394dc3bb1e332fa173ab45 | |
parent | 007c6fc67764c5461925e433b30eebf93a49f5f7 (diff) | |
download | busybox-w32-5da42fce51a9913e2c4359b71f4184dba0ad4310.tar.gz busybox-w32-5da42fce51a9913e2c4359b71f4184dba0ad4310.tar.bz2 busybox-w32-5da42fce51a9913e2c4359b71f4184dba0ad4310.zip |
modprobe: treat tabs in modules.dep as delimiters too. closes bug 567
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | modutils/modprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/modprobe.c b/modutils/modprobe.c index bef657929..0d65d5f19 100644 --- a/modutils/modprobe.c +++ b/modutils/modprobe.c | |||
@@ -344,7 +344,7 @@ static void load_modules_dep(void) | |||
344 | G.num_unresolved_deps--; | 344 | G.num_unresolved_deps--; |
345 | llist_add_to(&m->deps, xstrdup(tokens[0])); | 345 | llist_add_to(&m->deps, xstrdup(tokens[0])); |
346 | if (tokens[1]) | 346 | if (tokens[1]) |
347 | string_to_llist(tokens[1], &m->deps, " "); | 347 | string_to_llist(tokens[1], &m->deps, " \t"); |
348 | } else | 348 | } else |
349 | DBG("skipping dep line"); | 349 | DBG("skipping dep line"); |
350 | } | 350 | } |