From cade07781dd09dc749b6da0a207309e250a538f5 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 3 Jul 2014 22:33:21 +0200 Subject: [PATCH] io: fix printf() without constant format Signed-off-by: Jo-Philipp Wich --- luci2/src/io/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.30.2