commit | f9c814b0eedf757f13d4796c254329d84a4ae85c | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Mon Sep 07 02:37:19 2009 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Mon Sep 07 02:37:19 2009 +0200 |
tree | 85ab24bcfdeaa1e4e2f1c2fe904d2278b87e6df2 | |
parent | 386bc9fda3fed545a6b78cd2e1c536b2bf98ea24 [diff] |
modprobe-small: hopefully fix bug 591 (incorrect detection of alias with '-') Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c index 02d8fbd..bc80723 100644 --- a/modutils/modprobe-small.c +++ b/modutils/modprobe-small.c
@@ -218,6 +218,7 @@ bksp(); /* remove last ' ' */ appendc('\0'); info->aliases = copy_stringbuf(); + replace(info->aliases, '-', '_'); /* "dependency1 depandency2" */ reset_stringbuf();