mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 02:11:19 -04:00
update interfaces/inner_api/syscap_interface.c.
Signed-off-by: tongkai0808fh <tongkai5@huawei.com>
This commit is contained in:
@@ -527,7 +527,7 @@ static int32_t CopySyscopToRet(struct PcidPriSyscapInfo *pcidPriSyscapInfo, cons
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(t == allSyscapNum){
|
||||
if (t == allSyscapNum) {
|
||||
return -1;
|
||||
}
|
||||
pcidPriSyscapInfo->ret = strcpy_s(tempSyscap, sizeof(char) * SINGLE_SYSCAP_LEN, g_arraySyscap[t].str);
|
||||
|
||||
Reference in New Issue
Block a user