mirror of https://github.com/hak5/openwrt-owl.git
uci: increase argv size in batch mode to silence a false gcc 4.4 compiler warning
SVN-Revision: 15521owl
parent
f06689ce61
commit
8994dc4361
|
@ -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…
Reference in New Issue