summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lua/lmyoslib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lmyoslib.c b/lua/lmyoslib.c
index 868fc56..fc6a24b 100644
--- a/lua/lmyoslib.c
+++ b/lua/lmyoslib.c
@@ -57,7 +57,7 @@ static int getfield (lua_State *L, const char *key, int d) {
res = (int)lua_tointeger(L, -1);
else {
if (d < 0)
- return luaL_error(L, "field " LUA_QS " missing in date table", key);
+ return luaL_error(L, "field '%s' missing in date table", key);
res = d;
}
lua_pop(L, 1);