From 6357c27ab68dfd646ff1e811de9f1a93c6775eed Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 1 Mar 2014 00:40:22 +0100 Subject: lua: fix format string in luaL_error() --- player/lua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player') diff --git a/player/lua.c b/player/lua.c index e66f8e514e..5c1eb03493 100644 --- a/player/lua.c +++ b/player/lua.c @@ -899,7 +899,7 @@ static int script_input_define_section(lua_State *L) } else if (strcmp(flags, "") == 0) { //pass } else { - luaL_error(L, "invalid flags: '%*'", flags); + luaL_error(L, "invalid flags: '%s'", flags); } mp_input_define_section(mpctx->input, section, "