Module Name: src Committed By: alnsn Date: Wed Oct 16 21:55:56 UTC 2013
Modified Files: src/sys/modules/luacore: luacore.c Log Message: Use "%s" to panic. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/modules/luacore/luacore.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/modules/luacore/luacore.c diff -u src/sys/modules/luacore/luacore.c:1.1 src/sys/modules/luacore/luacore.c:1.2 --- src/sys/modules/luacore/luacore.c:1.1 Wed Oct 16 19:47:19 2013 +++ src/sys/modules/luacore/luacore.c Wed Oct 16 21:55:56 2013 @@ -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; }