modprobe-small: hopefully fix bug 591 (incorrect detection of alias with '-')
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
386bc9fda3
commit
f9c814b0ee
1 changed files with 1 additions and 0 deletions
|
@ -218,6 +218,7 @@ static void parse_module(module_info *info, const char *pathname)
|
|||
bksp(); /* remove last ' ' */
|
||||
appendc('\0');
|
||||
info->aliases = copy_stringbuf();
|
||||
replace(info->aliases, '-', '_');
|
||||
|
||||
/* "dependency1 depandency2" */
|
||||
reset_stringbuf();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue