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
This commit is contained in:
Denis Vlasenko
2009-04-13 02:25:40 +00:00
parent 1fb26da071
commit 1f63229a8e
4 changed files with 13 additions and 7 deletions

View File

@@ -35,7 +35,7 @@ int insmod_main(int argc UNUSED_PARAM, char **argv)
rc = bb_init_module(filename, parse_cmdline_module_options(argv));
if (rc)
bb_error_msg("cannot insert '%s': %s", filename, moderror(rc));
bb_error_msg("can't insert '%s': %s", filename, moderror(rc));
return rc;
}