From a05f1063cb46898da24308d7565e3f9f636c4ca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A6=E5=9B=BD=E5=BA=86?= Date: Thu, 30 May 2024 09:26:22 +0800 Subject: [PATCH] =?UTF-8?q?fixed=2006262c2=20from=20https://gitee.com/wei-?= =?UTF-8?q?guoqing/distributedhardware=5Fdistributed=5Fcamera=5Fut/pulls/5?= =?UTF-8?q?92=20=E8=93=9D=E9=BB=84=E5=90=8C=E6=AD=A5=E5=88=B0=E8=93=9D?= =?UTF-8?q?=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 韦国庆 --- services/channel/src/dcamera_softbus_latency.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/channel/src/dcamera_softbus_latency.cpp b/services/channel/src/dcamera_softbus_latency.cpp index 81d3bfa4..07f8b0bf 100644 --- a/services/channel/src/dcamera_softbus_latency.cpp +++ b/services/channel/src/dcamera_softbus_latency.cpp @@ -15,6 +15,7 @@ #include "dcamera_softbus_latency.h" +#include "anonymous_string.h" #include "distributed_camera_constants.h" #include "distributed_camera_errno.h" #include "distributed_hardware_log.h" @@ -52,7 +53,8 @@ int32_t DCameraSoftbusLatency::StartSoftbusTimeSync(const std::string& devId) int32_t ret = StartTimeSync(DCAMERA_PKG_NAME.c_str(), devId.c_str(), LOW_ACCURACY, NORMAL_PERIOD, &timeSyncCb); if (ret != DCAMERA_OK) { - DHLOGE("DCameraSoftbusLatency:: StartSoftbusTimeSync failed networkId %{public}s", devId.c_str()); + DHLOGE("DCameraSoftbusLatency:: StartSoftbusTimeSync failed networkId %{public}s", + GetAnonyString(devId).c_str()); } { std::lock_guard lock(micLock_); -- Gitee