diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-07 02:37:19 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-07 02:37:19 +0200 |
commit | f9c814b0eedf757f13d4796c254329d84a4ae85c (patch) | |
tree | 85ab24bcfdeaa1e4e2f1c2fe904d2278b87e6df2 | |
parent | 386bc9fda3fed545a6b78cd2e1c536b2bf98ea24 (diff) | |
download | busybox-w32-f9c814b0eedf757f13d4796c254329d84a4ae85c.tar.gz busybox-w32-f9c814b0eedf757f13d4796c254329d84a4ae85c.tar.bz2 busybox-w32-f9c814b0eedf757f13d4796c254329d84a4ae85c.zip |
modprobe-small: hopefully fix bug 591 (incorrect detection of alias with '-')
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | modutils/modprobe-small.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c index 02d8fbd40..bc80723fa 100644 --- a/modutils/modprobe-small.c +++ b/modutils/modprobe-small.c | |||
@@ -218,6 +218,7 @@ static void parse_module(module_info *info, const char *pathname) | |||
218 | bksp(); /* remove last ' ' */ | 218 | bksp(); /* remove last ' ' */ |
219 | appendc('\0'); | 219 | appendc('\0'); |
220 | info->aliases = copy_stringbuf(); | 220 | info->aliases = copy_stringbuf(); |
221 | replace(info->aliases, '-', '_'); | ||
221 | 222 | ||
222 | /* "dependency1 depandency2" */ | 223 | /* "dependency1 depandency2" */ |
223 | reset_stringbuf(); | 224 | reset_stringbuf(); |