update ipc/native/src/core/source/ipc_process_skeleton.cpp.

Signed-off-by: dengyutao <dengyutao2@huawei.com>
This commit is contained in:
dengyutao 2024-07-12 08:32:33 +00:00 committed by Gitee
parent 0355448be8
commit 7042808965
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());