mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 20:29:57 -04:00
!158 (cherry-pick)修复无符号数据的格式化输出。
Merge pull request !158 from chenyude/cherry-pick-1661498908
This commit is contained in:
@@ -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