aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-10-14 17:11:57 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-10-14 17:11:57 +0000
commitbb31968b55784afbfd28e7fe92dba98863dcd3cb (patch)
treef684a95d9357740edfccc7550c3ea9d4666fbb2a /scripts
parent012639a11148550239f3b3a9ed1390e1102376f6 (diff)
downloadupstream-bb31968b55784afbfd28e7fe92dba98863dcd3cb.tar.gz
upstream-bb31968b55784afbfd28e7fe92dba98863dcd3cb.tar.bz2
upstream-bb31968b55784afbfd28e7fe92dba98863dcd3cb.zip
scripts/config: fix menuconfig segfault in text inputs when format patterns are entered by the user
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33773 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rw-r--r--scripts/config/lxdialog/lxdialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/config/lxdialog/lxdialog.c b/scripts/config/lxdialog/lxdialog.c
index 79f6c5fb5c..5b8e3e9473 100644
--- a/scripts/config/lxdialog/lxdialog.c
+++ b/scripts/config/lxdialog/lxdialog.c
@@ -189,7 +189,7 @@ int j_inputbox(const char *t, int ac, const char *const *av)
int ret = dialog_inputbox(t, av[2], atoi(av[3]), atoi(av[4]),
ac == 6 ? av[5] : (char *)NULL);
if (ret == 0)
- fprintf(stderr, dialog_input_result);
+ fprintf(stderr, "%s", dialog_input_result);
return ret;
}