You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
281 B

--- a/kmodloader.c
+++ b/kmodloader.c
@@ -605,6 +605,9 @@ static int main_insmod(int argc, char **
cur += sprintf(cur, "%s", argv[i]);
}
+ if (init_module_folders())
+ return -1;
+
if (get_module_path(argv[1])) {
name = argv[1];
} else if (!get_module_path(name)) {