modfiy for codex.

Signed-off-by: yudechen <chenyude@huawei.com>
Change-Id: I1af469670be0dfef45a02ee259cc22c9dcc305e8
This commit is contained in:
yudechen
2022-05-18 20:16:43 +08:00
parent cb3ca3e397
commit b6cb4daabb
7 changed files with 90 additions and 49 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ static char* getSystemCapability()
char osCapArray[OS_SYSCAP_U32_NUM][U32_TO_STR_MAX_LEN] = {};
char (*priCapArray)[SYSCAP_STR_MAX_LEN] = nullptr;
retBool = EncodeOsSyscap(osOutput, SYSCAP_STR_MAX_LEN);
retBool = EncodeOsSyscap(osOutput);
if (!retBool) {
PRINT_ERR("get encoded os syscap failed.");
return nullptr;