aboutsummaryrefslogtreecommitdiff
path: root/modutils/insmod.c
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-03-29 10:30:50 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-03-29 10:30:50 +0000
commit8924a9f2bb3ad3f3eb6e814ab0304bf7874ad47e (patch)
tree5031fd816b1df09eaa897530a37ce814bba95011 /modutils/insmod.c
parentbb59a35c64bcee0dea8f8fb8bed44660af4bcaf2 (diff)
downloadbusybox-w32-8924a9f2bb3ad3f3eb6e814ab0304bf7874ad47e.tar.gz
busybox-w32-8924a9f2bb3ad3f3eb6e814ab0304bf7874ad47e.tar.bz2
busybox-w32-8924a9f2bb3ad3f3eb6e814ab0304bf7874ad47e.zip
- fold recurse, depthFirst and dereference params into one param flags.
Minor size improvement (-16b for size, -24b according to bloat-o-meter). git-svn-id: svn://busybox.net/trunk/busybox@18271 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'modutils/insmod.c')
-rw-r--r--modutils/insmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 57092f79a..075969dcb 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -4044,7 +4044,7 @@ int insmod_main( int argc, char **argv)
4044 module_dir = tmdn; 4044 module_dir = tmdn;
4045 else 4045 else
4046 module_dir = real_module_dir; 4046 module_dir = real_module_dir;
4047 recursive_action(module_dir, TRUE, FALSE, FALSE, 4047 recursive_action(module_dir, action_recurse,
4048 check_module_name_match, 0, m_fullName, 0); 4048 check_module_name_match, 0, m_fullName, 0);
4049 free(tmdn); 4049 free(tmdn);
4050 } 4050 }
@@ -4059,7 +4059,7 @@ int insmod_main( int argc, char **argv)
4059 strcpy(module_dir, _PATH_MODULES); 4059 strcpy(module_dir, _PATH_MODULES);
4060 /* No module found under /lib/modules/`uname -r`, this 4060 /* No module found under /lib/modules/`uname -r`, this
4061 * time cast the net a bit wider. Search /lib/modules/ */ 4061 * time cast the net a bit wider. Search /lib/modules/ */
4062 if (!recursive_action(module_dir, TRUE, FALSE, FALSE, 4062 if (!recursive_action(module_dir, action_recurse,
4063 check_module_name_match, 0, m_fullName, 0) 4063 check_module_name_match, 0, m_fullName, 0)
4064 ) { 4064 ) {
4065 if (m_filename == 0 4065 if (m_filename == 0