summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-03-01 00:40:22 +0100
committerwm4 <wm4@nowhere>2014-03-01 00:40:22 +0100
commit6357c27ab68dfd646ff1e811de9f1a93c6775eed (patch)
tree2adacb443dd2e3aa3cf62c14a0b6048896816fa0 /player
parent93065af3edb60fef45f693152e14a10e7d2cce1b (diff)
downloadmpv-6357c27ab68dfd646ff1e811de9f1a93c6775eed.tar.bz2
mpv-6357c27ab68dfd646ff1e811de9f1a93c6775eed.tar.xz
lua: fix format string in luaL_error()
Diffstat (limited to 'player')
-rw-r--r--player/lua.c2
1 files changed, 1 insertions, 1 deletions
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, "<script>", contents, builtin);
return 0;