From 9a5682546b465ca9752c5200d958661ebc9016e6 Mon Sep 17 00:00:00 2001 From: jow Date: Sun, 14 Oct 2012 17:17:04 +0000 Subject: AA: fix menuconfig segfaults; backport of r33773 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33774 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/config/lxdialog/lxdialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/config/lxdialog/lxdialog.c b/scripts/config/lxdialog/lxdialog.c index 79f6c5fb5..5b8e3e947 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; } -- cgit v1.2.3