!1220 修复格式化打印错误

Merge pull request !1220 from dengyutao/master
This commit is contained in:
openharmony_ci 2024-07-15 03:16:54 +00:00 committed by Gitee
commit 4c4eac8c11
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -205,7 +205,7 @@ sptr<IRemoteObject> IPCProcessSkeleton::FindOrNewObject(int handle)
if (proxy->GetProto() == IRemoteObject::IF_PROT_ERROR) {
uint64_t curTime = static_cast<uint64_t>(std::chrono::duration_cast<std::chrono::nanoseconds>(
std::chrono::steady_clock::now().time_since_epoch()).count());
ZLOGE(LOG_LABEL, "init rpc proxy failed, handle:%{public}d %{public}zu, time:%{public}" PRIu64, handle,
ZLOGE(LOG_LABEL, "init rpc proxy failed, handle:%{public}d %{public}u, time:%{public}" PRIu64, handle,
ProcessSkeleton::ConvertAddr(result.GetRefPtr()), curTime);
if (proxy->GetSptrRefCount() <= DETACH_PROXY_REF_COUNT) {
DetachObject(result.GetRefPtr());