From: Wootak Jung Date: Thu, 26 Jan 2023 06:58:41 +0000 (+0900) Subject: Fix coverity issues X-Git-Tag: accepted/tizen/unified/20230127.161112^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d2fe6ae94212cbbdc1ed247292e12689334a0fd7;p=platform%2Fcore%2Ftelephony%2Ftel-plugin-dbus_tapi.git Fix coverity issues Change-Id: I042044acb6a6068cb1bb43ac5ced245d828fb60d Signed-off-by: Wootak Jung --- diff --git a/src/dtapi_sat_manager.c b/src/dtapi_sat_manager.c index 19c82fa..121a8f8 100644 --- a/src/dtapi_sat_manager.c +++ b/src/dtapi_sat_manager.c @@ -269,7 +269,7 @@ static gboolean _push_data(struct custom_data *ctx, struct sat_manager_queue_dat SAT_CMD_Q_CHECK(local_index); if (sat_queue[local_index]) { - dbg("[SAT] sat_queue[%d] is not null [%p]", sat_queue[local_index]); + dbg("[SAT] sat_queue[%d] is not null", sat_queue[local_index]); return FALSE; } @@ -473,7 +473,7 @@ static TReturn sat_manager_send_user_confirmation(Communicator *comm, TcorePlugi tcore_user_request_set_data(ur, sizeof(struct treq_sat_user_confirmation_data), (void *)conf_data); rv = tcore_communicator_dispatch_request(comm, ur); if (rv != TCORE_RETURN_SUCCESS) { - dbg("fail to send terminal response", rv); + dbg("fail to send terminal response"); tcore_user_request_unref(ur); rv = TCORE_RETURN_FAILURE; } @@ -497,7 +497,7 @@ static TReturn sat_manager_send_terminal_response(Communicator *comm, TcorePlugi tcore_user_request_set_data(ur, sizeof(struct treq_sat_terminal_rsp_data), (void *)tr); rv = tcore_communicator_dispatch_request(comm, ur); if (rv != TCORE_RETURN_SUCCESS) { - dbg("fail to send terminal response", rv); + dbg("fail to send terminal response"); tcore_user_request_unref(ur); rv = TCORE_RETURN_FAILURE; } @@ -4062,7 +4062,7 @@ static gboolean sat_manager_handle_open_channel_result(struct custom_data *ctx, dbg("bearer_desc link local type_format(%s)", g_variant_get_type_string(bearer_desc)); g_variant_get(bearer_desc, "(is)", &service_type, &service_record); - dbg("check link local service_type(%d), service_record(%d)", service_type, service_record); + dbg("check link local service_type(%d), service_record(%s)", service_type, service_record); tr->terminal_rsp_data.open_channel.bearer_desc.bearer_parameter.local_link_bearer_param.service_type = service_type;