From: Jo-Philipp Wich Date: Thu, 3 Jul 2014 20:33:21 +0000 (+0200) Subject: io: fix printf() without constant format X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cade07781dd09dc749b6da0a207309e250a538f5;p=project%2Fluci2%2Fui.git io: fix printf() without constant format Signed-off-by: Jo-Philipp Wich --- diff --git a/luci2/src/io/main.c b/luci2/src/io/main.c index 3990e79..f9c07c3 100644 --- a/luci2/src/io/main.c +++ b/luci2/src/io/main.c @@ -299,7 +299,7 @@ failure(int e, const char *message) { printf("Status: 500 Internal Server failure\r\n"); printf("Content-Type: text/plain\r\n\r\n"); - printf(message); + printf("%s", message); if (e) printf(": %s", strerror(e));