diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib_jit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib_jit.c b/src/lib_jit.c index 7b2eaf44..3f71ed4d 100644 --- a/src/lib_jit.c +++ b/src/lib_jit.c | |||
@@ -52,7 +52,7 @@ static int setjitmode(lua_State *L, int mode) | |||
52 | if ((mode & LUAJIT_MODE_MASK) == LUAJIT_MODE_ENGINE) | 52 | if ((mode & LUAJIT_MODE_MASK) == LUAJIT_MODE_ENGINE) |
53 | lj_err_caller(L, LJ_ERR_NOJIT); | 53 | lj_err_caller(L, LJ_ERR_NOJIT); |
54 | err: | 54 | err: |
55 | lj_err_arg(L, 1, LJ_ERR_NOLFUNC); | 55 | lj_err_argt(L, 1, LUA_TFUNCTION); |
56 | } | 56 | } |
57 | return 0; | 57 | return 0; |
58 | } | 58 | } |