summaryrefslogtreecommitdiffstats
path: root/player/lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/lua.c')
-rw-r--r--player/lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua.c b/player/lua.c
index d2990c3b28..7f7fb69bce 100644
--- a/player/lua.c
+++ b/player/lua.c
@@ -1043,7 +1043,7 @@ static int script_input_enable_section(lua_State *L)
} else if (bstr_equals0(val, "exclusive")) {
flags |= MP_INPUT_EXCLUSIVE;
} else {
- luaL_error(L, "invalid flag: '%.*s'", BSTR_P(val));
+ luaL_error(L, "invalid flag");
}
}
mp_input_enable_section(mpctx->input, section, flags);