提交 b4d4dffe 编写于 作者: L lanxueyuan

change param api

Change-Id: Iab0fbe089e803dcad60c032f1ccaf73f916728af
上级 a63c6e80
......@@ -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.
先完成此消息的编辑!
想要评论请 注册