summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/uci/patches/100-gcc_warning.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/uci/patches/100-gcc_warning.patch b/package/uci/patches/100-gcc_warning.patch
new file mode 100644
index 000000000..9ac51448b
--- /dev/null
+++ b/package/uci/patches/100-gcc_warning.patch
@@ -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;