提交 ef0950d1 编写于 作者: G Gymee 提交者: openharmony_ci

!2 【轻量级 PR】:remove unnecessary "\" for newline

Merge pull request !2 from Gymee/N/A
上级 f55113ce
......@@ -70,7 +70,7 @@ static void ParseJob(const cJSON* jobItem, Job* resJob)
}
if (cmdLinesCnt > MAX_CMD_CNT_IN_ONE_JOB) {
printf("[Init] ParseAllJobs, too many cmds[cnt %d] in one job, it should not exceed %d.\n",\
printf("[Init] ParseAllJobs, too many cmds[cnt %d] in one job, it should not exceed %d.\n",
cmdLinesCnt, MAX_CMD_CNT_IN_ONE_JOB);
return;
}
......@@ -107,7 +107,7 @@ void ParseAllJobs(const cJSON* fileRoot)
}
if (jobArrSize <= 0 || jobArrSize > MAX_JOBS_COUNT) {
printf("[Init] ParseAllJobs, jobs count %d is invalid, should be positive and not exceeding %d.\n",\
printf("[Init] ParseAllJobs, jobs count %d is invalid, should be positive and not exceeding %d.\n",
jobArrSize, MAX_JOBS_COUNT);
return;
}
......
......@@ -184,7 +184,7 @@ static int GetServiceCaps(const cJSON* curArrItem, Service* curServ)
}
if (capsCnt > MAX_CAPS_CNT_FOR_ONE_SERVICE) {
printf("[Init] GetServiceCaps, too many caps[cnt %d] for one service, should not exceed %d.\n",\
printf("[Init] GetServiceCaps, too many caps[cnt %d] for one service, should not exceed %d.\n",
capsCnt, MAX_CAPS_CNT_FOR_ONE_SERVICE);
return SERVICE_FAILURE;
}
......@@ -222,7 +222,7 @@ static void ParseAllServices(const cJSON* fileRoot)
}
if (servArrSize > MAX_SERVICES_CNT_IN_FILE) {
printf("[Init] InitReadCfg, too many services[cnt %d] detected, should not exceed %d.\n",\
printf("[Init] InitReadCfg, too many services[cnt %d] detected, should not exceed %d.\n",
servArrSize, MAX_SERVICES_CNT_IN_FILE);
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册