summaryrefslogtreecommitdiffhomepage
path: root/libs/lucittpd/src/lib/luaplugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/lucittpd/src/lib/luaplugin.c')
-rw-r--r--libs/lucittpd/src/lib/luaplugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/lucittpd/src/lib/luaplugin.c b/libs/lucittpd/src/lib/luaplugin.c
index 6a0e1caad7..0b2e33122b 100644
--- a/libs/lucittpd/src/lib/luaplugin.c
+++ b/libs/lucittpd/src/lib/luaplugin.c
@@ -215,7 +215,7 @@ load_module(struct luaplugin_ctx *ctx, struct luaplugin_entry *e)
if (lua_isstring(L, -1))
err = lua_tostring(L, -1);
- fprintf(stderr, err);
+ fprintf(stderr, "%s", err);
}
}
@@ -318,7 +318,7 @@ luaplugin_call(struct luaplugin_entry *e, int narg)
ret = lua_pcall(L, narg, 0, 0);
if (ret != 0) {
- fprintf(stderr, lua_tostring(L, -1));
+ fprintf(stderr, "%s", lua_tostring(L, -1));
}
done: