projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
386bc9f
)
modprobe-small: hopefully fix bug 591 (incorrect detection of alias with '-')
author
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 7 Sep 2009 00:37:19 +0000
(
02:37
+0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 7 Sep 2009 00:37:19 +0000
(
02:37
+0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
modutils/modprobe-small.c
patch
|
blob
|
history
diff --git
a/modutils/modprobe-small.c
b/modutils/modprobe-small.c
index 02d8fbd40e49bb7ce8d7afbffe71c7301c1b2629..bc80723fad87df16dcfa4a769ec45dee18c090b2 100644
(file)
--- a/
modutils/modprobe-small.c
+++ b/
modutils/modprobe-small.c
@@
-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();