summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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