summaryrefslogtreecommitdiffstats
path: root/package/busybox/busybox-1.18.1/busybox-1.18.1-modprobe-small.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/busybox-1.18.1/busybox-1.18.1-modprobe-small.patch')
-rw-r--r--package/busybox/busybox-1.18.1/busybox-1.18.1-modprobe-small.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/package/busybox/busybox-1.18.1/busybox-1.18.1-modprobe-small.patch b/package/busybox/busybox-1.18.1/busybox-1.18.1-modprobe-small.patch
deleted file mode 100644
index c1d56153a..000000000
--- a/package/busybox/busybox-1.18.1/busybox-1.18.1-modprobe-small.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -urpN busybox-1.18.1/modutils/modprobe-small.c busybox-1.18.1-modprobe-small/modutils/modprobe-small.c
---- busybox-1.18.1/modutils/modprobe-small.c 2010-12-20 01:41:27.000000000 +0100
-+++ busybox-1.18.1-modprobe-small/modutils/modprobe-small.c 2011-01-09 21:00:26.000000000 +0100
-@@ -844,13 +844,15 @@ int modprobe_main(int argc UNUSED_PARAM,
- void *map;
-
- len = MAXINT(ssize_t);
-- map = xmalloc_xopen_read_close(*argv, &len);
-+ map = xmalloc_open_zipped_read_close(*argv, &len);
- if (init_module(map, len,
- IF_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE(options ? options : "")
- IF_NOT_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE("")
-- ) != 0)
-+ ) != 0
-+ ) {
- bb_error_msg_and_die("can't insert '%s': %s",
- *argv, moderror(errno));
-+ }
- return 0;
- }
-