update src/create_pcid.c.

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

Signed-off-by: ezio <cuican23@huawei.com>
This commit is contained in:
ezio
2023-11-10 02:18:03 +00:00
committed by Gitee
parent 8c5f7df03c
commit 92e30e28e2
+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)) {