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 cc916a162..db0498397 100644
--- a/mdk-stage1/modules.c
+++ b/mdk-stage1/modules.c
@@ -306,7 +306,7 @@ static enum insmod_return insmod_with_deps(const char * mod_name, char * options
log_message("needs %s", filename);
{
- char *file = asprintf_("%s/%s", modules_directory, kernel_module_extension());
+ char *file = asprintf_("%s/%s%s", modules_directory, filename, kernel_module_extension());
return insmod_local_file(file, options);
}
}