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

@@ -3803,7 +3803,7 @@ int FAST_FUNC bb_init_module_24(const char *m_filename, const char *options)
if (m_has_modinfo) {
int m_version = new_get_module_version(f, m_strversion);
if (m_version == -1) {
bb_error_msg_and_die("cannot find the kernel version "
bb_error_msg_and_die("can't find the kernel version "
"the module was compiled for");
}
}