diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2011-01-10 14:41:22 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-01-11 00:18:22 +0100 |
commit | 49318cb92d7bde2b997d77566edaef41c20f7182 (patch) | |
tree | 892e92520ae1e1a4d603032f8b1521dcb5ede19d /package/busybox/busybox-1.18.1/busybox-1.18.1-modprobe-small.patch | |
parent | aaa291d40b1e746c81092ecac7a6388486325bd2 (diff) |
busybox: add/update 1.18.1 fixes for hush, mkswap, modprobe, tftp and procps
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
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.patch | 21 |
1 files changed, 21 insertions, 0 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 new file mode 100644 index 000000000..c1d56153a --- /dev/null +++ b/package/busybox/busybox-1.18.1/busybox-1.18.1-modprobe-small.patch @@ -0,0 +1,21 @@ +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; + } + |