diff --git a/hidebug/interfaces/js/kits/napi/napi_hidebug.cpp b/hidebug/interfaces/js/kits/napi/napi_hidebug.cpp index 780219818..24eb8c161 100644 --- a/hidebug/interfaces/js/kits/napi/napi_hidebug.cpp +++ b/hidebug/interfaces/js/kits/napi/napi_hidebug.cpp @@ -989,7 +989,7 @@ static bool GetAppResourceLimitParam(napi_env env, napi_callback_info info, std: static bool CreateSanBoxDir() { - constexpr mode_t defaultLogDirMode = 0x0770; + constexpr mode_t defaultLogDirMode = 0770; const std::string reourceLimitDir = "/data/storage/el2/log/resourcelimit/"; if (!OHOS::FileExists(reourceLimitDir)) { OHOS::ForceCreateDirectory(reourceLimitDir);