mirror of
https://gitee.com/openharmony/security_huks
synced 2024-11-27 00:40:54 +00:00
!1173 fix print type error
Merge pull request !1173 from CheungVane/master
This commit is contained in:
commit
90e9c5d8dc
@ -322,7 +322,7 @@ const char * const HUKS_SERVICE_SUB_PATH = "huks_service";
|
||||
ENABLE_CFI(static int32_t CopyRdbCeToDePathIfNeed(void))
|
||||
{
|
||||
char huksCePath[HKS_MAX_DIRENT_FILE_LEN] = { 0 };
|
||||
int32_t offset = sprintf_s(huksCePath, HKS_MAX_DIRENT_FILE_LEN, "%s/%d/%s", HUKS_CE_ROOT_PATH, g_frontUserId,
|
||||
int32_t offset = sprintf_s(huksCePath, HKS_MAX_DIRENT_FILE_LEN, "%s/%u/%s", HUKS_CE_ROOT_PATH, g_frontUserId,
|
||||
HUKS_SERVICE_SUB_PATH);
|
||||
if (offset <= 0) {
|
||||
HKS_LOG_E("get huks ce path failed.");
|
||||
|
Loading…
Reference in New Issue
Block a user