diff options
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/modules.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mdk-stage1/modules.c b/mdk-stage1/modules.c index 3789e12d9..20b7c5bb6 100644 --- a/mdk-stage1/modules.c +++ b/mdk-stage1/modules.c @@ -189,15 +189,13 @@ static enum insmod_return insmod_archived_file(const char * mod_name, char * opt if (i != 0) return INSMOD_FAILED; - strcat(final_name, mod_name); + strcat(final_name, module_name); if (kernel_version() <= 4) { - strcat(final_name, ".o"); rc = insmod_call(final_name, options); } else { void *file; unsigned long len; - strcat(final_name, ".ko"); file = grab_file(final_name, &len); if (!file) { |