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, "