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

Merge pull request !2 from Gymee/N/A
This commit is contained in:
Gymee
2020-09-18 10:07:28 +08:00
committed by openharmony_ci
parent f55113ce4b
commit ef0950d1cc
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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;
}
+2 -2
View File
@@ -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;
}