diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-03-18 16:17:16 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-03-18 16:17:16 +0000 |
commit | a5da101da009fd3e30a6fd64b4e583c5bdf4a48e (patch) | |
tree | 5e1aa79a754295b82081a262126d7914acadbe75 /mdk-stage1 | |
parent | 901f3f8e24d58d0d1d553c4424b8bdb3e84440b7 (diff) | |
download | drakx-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.c | 2 |
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)); |