!331 修改create_pcid.c中 osCapIndex内PRINT_ERR的错误打印信息

Merge pull request !331 from ezio/master
This commit is contained in:
openharmony_ci
2023-11-13 08:46:27 +00:00
committed by Gitee
+1 -1
View File
@@ -55,7 +55,7 @@ int32_t SetOsSyscap(PCIDMain *pcidBuffer, uint32_t osCapSize,
}
osCapIndex = cJSON_GetObjectItem(allOsSyscapObj, jsonArrayItem->valuestring);
if (osCapIndex == NULL) {
PRINT_ERR("can't find ths syscap: %s, please add it syscap_define.h.\n", jsonArrayItem->valuestring);
PRINT_ERR("can't find the syscap: %s, please add it in syscap_define.h.\n", jsonArrayItem->valuestring);
return -1;
}
if (!cJSON_IsNumber(osCapIndex)) {