diff options
Diffstat (limited to 'loslib.c')
-rw-r--r-- | loslib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: loslib.c,v 1.47 2014/10/01 11:54:56 roberto Exp roberto $ | 2 | ** $Id: loslib.c,v 1.48 2014/10/08 19:57:31 roberto Exp roberto $ |
3 | ** Standard Operating System library | 3 | ** Standard Operating System library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -189,7 +189,7 @@ static int getfield (lua_State *L, const char *key, int d) { | |||
189 | res = (int)lua_tointegerx(L, -1, &isnum); | 189 | res = (int)lua_tointegerx(L, -1, &isnum); |
190 | if (!isnum) { | 190 | if (!isnum) { |
191 | if (d < 0) | 191 | if (d < 0) |
192 | return luaL_error(L, "field " LUA_QS " missing in date table", key); | 192 | return luaL_error(L, "field '%s' missing in date table", key); |
193 | res = d; | 193 | res = d; |
194 | } | 194 | } |
195 | lua_pop(L, 1); | 195 | lua_pop(L, 1); |