mirror of
https://github.com/openharmony/startup_init_lite.git
synced 2026-07-21 04:25:27 -04:00
!2 【轻量级 PR】:remove unnecessary "\" for newline
Merge pull request !2 from Gymee/N/A
This commit is contained in:
+2
-2
@@ -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
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user