diff --git a/services/distributeddataservice/service/data_share/data_share_obs_proxy.cpp b/services/distributeddataservice/service/data_share/data_share_obs_proxy.cpp index f63090f1f94462a8bb1f70c023fcd79901139dc1..9364e4ae261dbb27df5f19a092a364e416943a58 100644 --- a/services/distributeddataservice/service/data_share/data_share_obs_proxy.cpp +++ b/services/distributeddataservice/service/data_share/data_share_obs_proxy.cpp @@ -45,10 +45,7 @@ int RdbObserverProxy::CreateAshmem(RdbChangeNode &changeNode) return E_ERROR; } if (changeNode.memory_ != nullptr) { - ZLOGE( - "Unknown error: changeNode.memory_ should be null, but something is there %{public}p", - (void *)changeNode.memory_ - ); + ZLOGE("Unknown error: changeNode.memory_ should be null, but something is there."); return E_ERROR; } changeNode.memory_ = memory;