From e20531c13e4796d237b65c8fcfef141ea2be77ff Mon Sep 17 00:00:00 2001 From: alnsn Date: Wed, 16 Oct 2013 21:55:56 +0000 Subject: [PATCH] Use "%s" to panic. --- sys/modules/luacore/luacore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/modules/luacore/luacore.c b/sys/modules/luacore/luacore.c index 9bea0c137ca9..facea498ea6c 100644 --- a/sys/modules/luacore/luacore.c +++ b/sys/modules/luacore/luacore.c @@ -112,7 +112,7 @@ core_aprint_get_error_count(lua_State *L) static int core_panic(lua_State *L) { - panic(lua_tostring(L, -1)); + panic("%s", lua_tostring(L, -1)); return 0; }