summaryrefslogtreecommitdiff
path: root/package/busybox/busybox-1.14.3-modprobe.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/busybox-1.14.3-modprobe.patch')
-rw-r--r--package/busybox/busybox-1.14.3-modprobe.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.14.3-modprobe.patch b/package/busybox/busybox-1.14.3-modprobe.patch
new file mode 100644
index 000000000..24f04d30f
--- /dev/null
+++ b/package/busybox/busybox-1.14.3-modprobe.patch
@@ -0,0 +1,11 @@
+diff -urpN busybox-1.14.3/modutils/modprobe-small.c busybox-1.14.3-modprobe/modutils/modprobe-small.c
+--- busybox-1.14.3/modutils/modprobe-small.c 2009-08-02 20:16:36.000000000 +0200
++++ busybox-1.14.3-modprobe/modutils/modprobe-small.c 2009-09-09 01:55:27.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();