summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-18 16:17:16 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-18 16:17:16 +0000
commita5da101da009fd3e30a6fd64b4e583c5bdf4a48e (patch)
tree5e1aa79a754295b82081a262126d7914acadbe75 /mdk-stage1
parent901f3f8e24d58d0d1d553c4424b8bdb3e84440b7 (diff)
downloaddrakx-a5da101da009fd3e30a6fd64b4e583c5bdf4a48e.tar
drakx-a5da101da009fd3e30a6fd64b4e583c5bdf4a48e.tar.gz
drakx-a5da101da009fd3e30a6fd64b4e583c5bdf4a48e.tar.bz2
drakx-a5da101da009fd3e30a6fd64b4e583c5bdf4a48e.tar.xz
drakx-a5da101da009fd3e30a6fd64b4e583c5bdf4a48e.zip
fix asking modules when no controller is detected
Diffstat (limited to 'mdk-stage1')
-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));