未验证 提交 49ba4cf1 编写于 作者: O openharmony_ci 提交者: Gitee

!1468 修改GetSystemError返回值,合入monthly

Merge pull request !1468 from zaki/cherry-pick-1667393323
......@@ -57,7 +57,6 @@ INIT_LOCAL_API int GetSystemError(int err)
default:
return SYSPARAM_SYSTEM_ERROR;
}
return 0;
}
INIT_LOCAL_API int IsValidParamValue(const char *value, uint32_t len)
......
......@@ -164,6 +164,6 @@ INIT_LOCAL_API void EnableInitLogFromCmdline(void)
errno = 0;
unsigned int logLevel = (unsigned int)strtoul(level, 0, 10); // 10 is decimal
INIT_INFO_CHECK(errno == 0, return, "Failed strtoul %s, err=%d", level, errno);
SetInitLogLevel(logLevel);
SetInitLogLevel((InitLogLevel)logLevel);
return;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册