diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2004-01-22 15:53:48 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2004-01-22 15:53:48 +0000 |
commit | 6984cca61ece007de3b292278d5787d728e54c6b (patch) | |
tree | 3f186d0988ae2dafa404610dba6d3b8aeec0b837 | |
parent | 96b06bef04c04b79a22facf47353009e0e8eb375 (diff) | |
download | drakx-backup-do-not-use-6984cca61ece007de3b292278d5787d728e54c6b.tar drakx-backup-do-not-use-6984cca61ece007de3b292278d5787d728e54c6b.tar.gz drakx-backup-do-not-use-6984cca61ece007de3b292278d5787d728e54c6b.tar.bz2 drakx-backup-do-not-use-6984cca61ece007de3b292278d5787d728e54c6b.tar.xz drakx-backup-do-not-use-6984cca61ece007de3b292278d5787d728e54c6b.zip |
ensure insmod will try to access correct filename according to 2.4->2.6 compat mapping
-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) { |