mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 10:21:25 -04:00
fix: fix unsigned int format.
Signed-off-by: yudechen <chenyude@huawei.com> Change-Id: Ib3d39bb7f94acb16d717ebbcb12d4cdcb68d16f0
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