summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/xmake/os/syserror.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/xmake/os/syserror.c b/core/src/xmake/os/syserror.c
index c93a4eeda..1ab6afb23 100644
--- a/core/src/xmake/os/syserror.c
+++ b/core/src/xmake/os/syserror.c
@@ -45,6 +45,7 @@ tb_int_t xm_os_syserror(lua_State* lua)
{
case TB_STATE_SYSERROR_NOT_PERM: err = 1; break;
case TB_STATE_SYSERROR_NOT_FILEDIR: err = 2; break;
+ case TB_STATE_SYSERROR_NOT_ACCESS: err = 3; break;
case TB_STATE_SYSERROR_UNKNOWN_ERROR: err = -1; break;
}
lua_pushinteger(lua, err);