openwrt/package/uci/patches/100-gcc_warning.patch

12 lines
180 B
Diff

--- 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;