diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-13 02:25:40 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-13 02:25:40 +0000 |
commit | 1f63229a8e5384bcc2ea99c9063383d3960fe275 (patch) | |
tree | 03fc1ff64127a30c9acc001c95f158583438a0b9 /modutils/modprobe-small.c | |
parent | 1fb26da0717312dbee703b5204876facd99262a9 (diff) | |
download | busybox-w32-1f63229a8e5384bcc2ea99c9063383d3960fe275.tar.gz busybox-w32-1f63229a8e5384bcc2ea99c9063383d3960fe275.tar.bz2 busybox-w32-1f63229a8e5384bcc2ea99c9063383d3960fe275.zip |
rmmod: fix bug 263
"modutils/rmmod can't remove modules with dash in name on 2.4 kernels"
function old new delta
rmmod_main 187 220 +33
Diffstat (limited to 'modutils/modprobe-small.c')
-rw-r--r-- | modutils/modprobe-small.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c index d3fde0e8b..6eb950f32 100644 --- a/modutils/modprobe-small.c +++ b/modutils/modprobe-small.c | |||
@@ -776,7 +776,7 @@ int modprobe_main(int argc UNUSED_PARAM, char **argv) | |||
776 | USE_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE(options ? options : "") | 776 | USE_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE(options ? options : "") |
777 | SKIP_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE("") | 777 | SKIP_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE("") |
778 | ) != 0) | 778 | ) != 0) |
779 | bb_error_msg_and_die("cannot insert '%s': %s", | 779 | bb_error_msg_and_die("can't insert '%s': %s", |
780 | *argv, moderror(errno)); | 780 | *argv, moderror(errno)); |
781 | return 0; | 781 | return 0; |
782 | } | 782 | } |