aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
Diffstat (limited to 'modutils')
-rw-r--r--modutils/insmod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 00e25f5e3..49b823d0e 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -801,7 +801,7 @@ static char *m_fullName;
801 801
802 802
803static int check_module_name_match(const char *filename, struct stat *statbuf, 803static int check_module_name_match(const char *filename, struct stat *statbuf,
804 void *userdata) 804 void *userdata, int depth)
805{ 805{
806 char *fullname = (char *) userdata; 806 char *fullname = (char *) userdata;
807 807
@@ -4048,7 +4048,7 @@ int insmod_main( int argc, char **argv)
4048 else 4048 else
4049 module_dir = real_module_dir; 4049 module_dir = real_module_dir;
4050 recursive_action(module_dir, TRUE, FALSE, FALSE, 4050 recursive_action(module_dir, TRUE, FALSE, FALSE,
4051 check_module_name_match, 0, m_fullName); 4051 check_module_name_match, 0, m_fullName, 0);
4052 free(tmdn); 4052 free(tmdn);
4053 } 4053 }
4054 4054
@@ -4063,7 +4063,7 @@ int insmod_main( int argc, char **argv)
4063 /* No module found under /lib/modules/`uname -r`, this 4063 /* No module found under /lib/modules/`uname -r`, this
4064 * time cast the net a bit wider. Search /lib/modules/ */ 4064 * time cast the net a bit wider. Search /lib/modules/ */
4065 if (!recursive_action(module_dir, TRUE, FALSE, FALSE, 4065 if (!recursive_action(module_dir, TRUE, FALSE, FALSE,
4066 check_module_name_match, 0, m_fullName) 4066 check_module_name_match, 0, m_fullName, 0)
4067 ) { 4067 ) {
4068 if (m_filename == 0 4068 if (m_filename == 0
4069 || ((fp = fopen(m_filename, "r")) == NULL) 4069 || ((fp = fopen(m_filename, "r")) == NULL)