summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-11 18:14:35 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-11 18:14:35 +0000
commit31b31a216cc1ef378840c37682d3e8107e8e8072 (patch)
treed898aa7ec8c6440647447d5960a1619dba4d1496
parentff839f5434f243d93addb4ad36977acc69ae07eb (diff)
downloaddrakx-31b31a216cc1ef378840c37682d3e8107e8e8072.tar
drakx-31b31a216cc1ef378840c37682d3e8107e8e8072.tar.gz
drakx-31b31a216cc1ef378840c37682d3e8107e8e8072.tar.bz2
drakx-31b31a216cc1ef378840c37682d3e8107e8e8072.tar.xz
drakx-31b31a216cc1ef378840c37682d3e8107e8e8072.zip
convert module deps to modname as well
-rw-r--r--mdk-stage1/modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/modules.c b/mdk-stage1/modules.c
index 3b477f3c3..b04c3038b 100644
--- a/mdk-stage1/modules.c
+++ b/mdk-stage1/modules.c
@@ -149,7 +149,7 @@ static int load_modules_dependencies(void)
while (start && *start) {
ptr = strchr(start, ' ');
if (ptr) *ptr = '\0';
- tmp_deps[i++] = strdup(start);
+ tmp_deps[i++] = filename2modname(start);
if (ptr)
start = ptr + 1;
else