diff options
Diffstat (limited to 'lcorolib.c')
-rw-r--r-- | lcorolib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | static lua_State *getco (lua_State *L) { | 21 | static lua_State *getco (lua_State *L) { |
22 | lua_State *co = lua_tothread(L, 1); | 22 | lua_State *co = lua_tothread(L, 1); |
23 | luaL_argcheck(L, co, 1, "thread expected"); | 23 | luaL_argexpected(L, co, 1, "thread"); |
24 | return co; | 24 | return co; |
25 | } | 25 | } |
26 | 26 | ||