diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-07-03 22:33:21 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-07-03 22:33:21 +0200 |
commit | cade07781dd09dc749b6da0a207309e250a538f5 (patch) | |
tree | 54ac6eb3f8b5ff67df00c5dfed820118ef599763 /luci2 | |
parent | 501640081f58deec167cc44251e14e78ace710bb (diff) | |
download | luci2-ui-cade07781dd09dc749b6da0a207309e250a538f5.tar.gz |
io: fix printf() without constant format
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'luci2')
-rw-r--r-- | luci2/src/io/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |