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 47c52efbb..617836f54 100644
--- a/mdk-stage1/modules.c
+++ b/mdk-stage1/modules.c
@@ -423,7 +423,7 @@ enum return_type ask_insmod(enum driver_type type)
{
enum return_type results;
char * choice;
- char * modules_dir = asprintf_("%s/kernel", modules_directory);
+ char * modules_dir = asprintf_("%s", modules_directory);
char ** dlist = list_directory(modules_dir);
char ** modules = alloca(sizeof(char *) * (string_array_length(dlist) + 1));
char ** descrs = alloca(sizeof(char *) * (string_array_length(dlist) + 1));