From b9f0111f8a27092566c9a3122607eec26f0fb11a Mon Sep 17 00:00:00 2001 From: wuminjie Date: Thu, 12 Dec 2024 10:40:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=8A=E8=AD=A6=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wuminjie --- services/samgr/native/source/collect/common_event_collect.cpp | 2 +- services/samgr/native/source/collect/device_param_collect.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/samgr/native/source/collect/common_event_collect.cpp b/services/samgr/native/source/collect/common_event_collect.cpp index 568a63e3..47d89557 100644 --- a/services/samgr/native/source/collect/common_event_collect.cpp +++ b/services/samgr/native/source/collect/common_event_collect.cpp @@ -156,7 +156,7 @@ void CommonEventCollect::AddSkillsEvent(EventFwk::MatchingSkills& skill) { std::lock_guard autoLock(commomEventLock_); for (auto& commonEventName : commonEventNames_) { - HILOGD("CommonEventCollect add event: %{puhlic}s", commonEventName.c_str()); + HILOGD("CommonEventCollect add event: %{public}s", commonEventName.c_str()); skill.AddEvent(commonEventName); } } diff --git a/services/samgr/native/source/collect/device_param_collect.cpp b/services/samgr/native/source/collect/device_param_collect.cpp index 1a89f822..8a4f7dfc 100644 --- a/services/samgr/native/source/collect/device_param_collect.cpp +++ b/services/samgr/native/source/collect/device_param_collect.cpp @@ -87,7 +87,7 @@ void DeviceParamCollect::WatchParameters() { std::lock_guard autoLock(paramLock_); for (auto param : pendingParams_) { - HILOGD("DeviceParamCollect watch param: %{puhlic}s", param.c_str()); + HILOGD("DeviceParamCollect watch param: %{public}s", param.c_str()); int32_t result = WatchParameter(param.c_str(), DeviceParamCallback, this); if (result != ERR_OK) { HILOGE("DeviceParamCollect watch events: %{public}s failed", param.c_str()); -- Gitee