diff options
author | Denis Vlasenko | 2009-04-13 02:25:40 +0000 |
---|---|---|
committer | Denis Vlasenko | 2009-04-13 02:25:40 +0000 |
commit | 1f63229a8e5384bcc2ea99c9063383d3960fe275 (patch) | |
tree | 03fc1ff64127a30c9acc001c95f158583438a0b9 /modutils/modprobe-small.c | |
parent | 1fb26da0717312dbee703b5204876facd99262a9 (diff) | |
download | busybox-1f63229a8e5384bcc2ea99c9063383d3960fe275.zip busybox-1f63229a8e5384bcc2ea99c9063383d3960fe275.tar.gz |
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 d3fde0e..6eb950f 100644 --- a/modutils/modprobe-small.c +++ b/modutils/modprobe-small.c @@ -776,7 +776,7 @@ int modprobe_main(int argc UNUSED_PARAM, char **argv) USE_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE(options ? options : "") SKIP_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE("") ) != 0) - bb_error_msg_and_die("cannot insert '%s': %s", + bb_error_msg_and_die("can't insert '%s': %s", *argv, moderror(errno)); return 0; } |