mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
uci: increase argv size in batch mode to silence a false gcc 4.4 compiler warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15521 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
eea5e13032
commit
8bebfa01a3
11
package/uci/patches/100-gcc_warning.patch
Normal file
11
package/uci/patches/100-gcc_warning.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/cli.c
|
||||
+++ b/cli.c
|
||||
@@ -462,7 +462,7 @@
|
||||
|
||||
static int uci_batch_cmd(void)
|
||||
{
|
||||
- char *argv[MAX_ARGS];
|
||||
+ char *argv[MAX_ARGS + 2];
|
||||
char *str = NULL;
|
||||
int ret = 0;
|
||||
int i, j;
|
||||
Loading…
x
Reference in New Issue
Block a user