summaryrefslogtreecommitdiffstats
path: root/package/busybox/busybox-1.15.0-modprobe.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/busybox-1.15.0-modprobe.patch')
-rw-r--r--package/busybox/busybox-1.15.0-modprobe.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.15.0-modprobe.patch b/package/busybox/busybox-1.15.0-modprobe.patch
new file mode 100644
index 000000000..ca1201a58
--- /dev/null
+++ b/package/busybox/busybox-1.15.0-modprobe.patch
@@ -0,0 +1,11 @@
+diff -urpN busybox-1.15.0/modutils/modprobe-small.c busybox-1.15.0-modprobe/modutils/modprobe-small.c
+--- busybox-1.15.0/modutils/modprobe-small.c 2009-08-21 00:26:14.000000000 +0200
++++ busybox-1.15.0-modprobe/modutils/modprobe-small.c 2009-09-07 02:43:01.000000000 +0200
+@@ -218,6 +218,7 @@ static void parse_module(module_info *in
+ bksp(); /* remove last ' ' */
+ appendc('\0');
+ info->aliases = copy_stringbuf();
++ replace(info->aliases, '-', '_');
+
+ /* "dependency1 depandency2" */
+ reset_stringbuf();