summaryrefslogtreecommitdiff
path: root/modutils/insmod.c
diff options
context:
space:
mode:
authorDenys Vlasenko2011-02-02 00:00:36 +0100
committerDenys Vlasenko2011-02-02 00:01:07 +0100
commitc5830bdf6558edbc567d7c5dce1ff8059049e202 (patch)
tree74bdcea96383de159d406b3ce56623b8bd653f22 /modutils/insmod.c
parent8ae386bf195c6ea53232bacd2eb8cf26676962e4 (diff)
downloadbusybox-c5830bdf6558edbc567d7c5dce1ff8059049e202.zip
busybox-c5830bdf6558edbc567d7c5dce1ff8059049e202.tar.gz
modprobe/insmod: fix parameter quoting
function old new delta parse_cmdline_module_options 102 157 +55 modprobe_main 657 662 +5 insmod_main 68 70 +2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 62/0) Total: 62 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils/insmod.c')
-rw-r--r--modutils/insmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index e5b46f4..94e4e28 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -59,7 +59,7 @@ int insmod_main(int argc UNUSED_PARAM, char **argv)
if (!filename)
bb_show_usage();
- rc = bb_init_module(filename, parse_cmdline_module_options(argv));
+ rc = bb_init_module(filename, parse_cmdline_module_options(argv, /*quote_spaces:*/ 0));
if (rc)
bb_error_msg("can't insert '%s': %s", filename, moderror(rc));