From 9bd837cabddad5462ced447435bd150826b718e9 Mon Sep 17 00:00:00 2001 From: huang-jianfei200 Date: Tue, 14 Mar 2023 10:48:07 +0800 Subject: [PATCH] fixed 9cf69fa from https://gitee.com/huang-jianfei200/multimedia_camera_lite/pulls/118 Give up non-conformance log Signed-off-by: huang-jianfei200 Change-Id: I3c7bed304ab314db370f6ee4f661d3312253da1e --- frameworks/camera_config.cpp | 2 +- services/server/src/samgr_camera.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frameworks/camera_config.cpp b/frameworks/camera_config.cpp index a205597..38a27c0 100644 --- a/frameworks/camera_config.cpp +++ b/frameworks/camera_config.cpp @@ -31,7 +31,7 @@ public: MEDIA_ERR_LOG("This config is in use, do not support config modify."); } if (callback == nullptr || handler == nullptr) { - MEDIA_ERR_LOG("Invalid parameter.(callback=%p, handler=%p)", callback, handler); + MEDIA_ERR_LOG("Invalid parameter."); } callback_ = callback; diff --git a/services/server/src/samgr_camera.cpp b/services/server/src/samgr_camera.cpp index 40375a3..6cedf56 100644 --- a/services/server/src/samgr_camera.cpp +++ b/services/server/src/samgr_camera.cpp @@ -52,8 +52,8 @@ static BOOL Initialize(Service* service, Identity identity) } CameraService* example = (CameraService*)service; example->identity = identity; - MEDIA_INFO_LOG("Initialize(%s)! Identity<%d, %d, %p>", Media::SERVICE_NAME, - identity.serviceId, identity.featureId, identity.queueId); + MEDIA_INFO_LOG("Initialize(%s)! Identity<%d, %d>", Media::SERVICE_NAME, + identity.serviceId, identity.featureId); return TRUE; } @@ -62,8 +62,8 @@ static BOOL MessageHandle(Service* service, Request* msg) if (service == nullptr || msg == nullptr) { return FALSE; } - MEDIA_INFO_LOG("MessageHandle(%s)! Request<%d, %d, %p>", - service->GetName(service), msg->msgId, msg->msgValue, msg->data); + MEDIA_INFO_LOG("MessageHandle(%s)! Request<%d, %d>", + service->GetName(service), msg->msgId, msg->msgValue); return FALSE; } -- Gitee