X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=luci2%2Fsrc%2Fio%2Fmain.c;h=f9c07c3609ddc8e23e396e0b1a8624c4e260f479;hb=cade07781dd09dc749b6da0a207309e250a538f5;hp=3990e799dd66368a5315d76244c6c9df1d5dcd01;hpb=3167df40eedb1bd301af7f6b6173c95e2770cc50;p=project%2Fluci2%2Fui.git 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));