mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 02:11:19 -04:00
@@ -168,7 +168,7 @@ bool EncodePrivateSyscap(char **output, int *outputLen)
|
||||
}
|
||||
outputStr = (char *)calloc(priLen, sizeof(char));
|
||||
if (outputStr == NULL) {
|
||||
PRINT_ERR("malloc buffer failed, size = %d, errno = %d\n", priLen, errno);
|
||||
PRINT_ERR("malloc buffer failed, size = %u, errno = %d\n", priLen, errno);
|
||||
*outputLen = 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user