mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 02:11:19 -04:00
update src/create_pcid.c.
修改create_pcid.c中 osCapIndex内PRINT_ERR的错误打印信息 Signed-off-by: ezio <cuican23@huawei.com>
This commit is contained in:
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user