提交 ead93353 编写于 作者: O openharmony_ci 提交者: Gitee

!21 启动恢复子系统--系统属性API整改

Merge pull request !21 from lanxueyuan/lanxueyuan-change-param-api
......@@ -40,11 +40,9 @@ static const pid_t INIT_PROCESS_PID = 1;
static void PrintSysInfo()
{
#ifdef OHOS_LITE
char* sysInfo = GetVersionId();
const char* sysInfo = GetVersionId();
if (sysInfo != NULL) {
printf("[Init] %s\n", sysInfo);
free(sysInfo);
sysInfo = NULL;
return;
}
printf("[Init] main, GetVersionId failed!\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册