Use "%s" to panic.

This commit is contained in:
alnsn 2013-10-16 21:55:56 +00:00
parent 2e2213ef89
commit e20531c13e

View File

@ -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;
}