mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 02:11:19 -04:00
@@ -525,6 +525,9 @@ static int32_t CopySyscopToRet(struct PcidPriSyscapInfo *pcidPriSyscapInfo, cons
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(t == allSyscapNum){
|
||||
return -1;
|
||||
}
|
||||
pcidPriSyscapInfo->ret = strcpy_s(tempSyscap, sizeof(char) * SINGLE_SYSCAP_LEN, g_arraySyscap[t].str);
|
||||
// 2, header of pcid & rpcid
|
||||
if (pcidPriSyscapInfo->ret != EOK) {
|
||||
|
||||
Reference in New Issue
Block a user