From: yhji Date: Fri, 27 Jul 2018 01:54:28 +0000 (+0900) Subject: Fix Wformat build error X-Git-Tag: accepted/tizen/unified/20180730.142056^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c214f440ea50e2552b2c97138e7c755af89605d1;p=platform%2Fcore%2Fapi%2Fmedia-controller.git Fix Wformat build error Change-Id: I8a8999e3b5b452a02947d90652df50b18704ef6d Signed-off-by: yhji --- diff --git a/src/media_controller_client.c b/src/media_controller_client.c index 24687b0..63b7185 100755 --- a/src/media_controller_client.c +++ b/src/media_controller_client.c @@ -243,7 +243,7 @@ static void __client_custom_event_received_cb(const char *interface_name, const mc_client_custom_event_received_cb callback = receiver->callback; mc_retm_if(receiver->callback == NULL, "custom_event_received_cb is NULL"); - mc_debug("__client_custom_event_received_cb(%s, %s, %s, %llu, %p)", interface_name, signal_name, message, request_id, user_data); + mc_debug("__client_custom_event_received_cb(%s, %s, %s, %s, %p)", interface_name, signal_name, message, request_id, user_data); params = g_strsplit(message, MC_STRING_DELIMITER, 0); mc_retm_if(params == NULL, "invalid custom data"); diff --git a/src/media_controller_server.c b/src/media_controller_server.c index 4e18f10..c4abf86 100755 --- a/src/media_controller_server.c +++ b/src/media_controller_server.c @@ -335,7 +335,7 @@ static void __server_play_playlist_cmd_cb(const char *interface_name, const char mc_server_playlist_cmd_received_cb callback = receiver->callback; mc_retm_if(receiver->callback == NULL, "mc_server_playlist_cmd_received_cb is NULL"); - mc_debug("__server_play_playlist_cmd_cb(%s, %s, %s, %ld, %p)", interface_name, signal_name, message, request_id, user_data); + mc_debug("__server_play_playlist_cmd_cb(%s, %s, %s, %s, %p)", interface_name, signal_name, message, request_id, user_data); params = g_strsplit(message, MC_STRING_DELIMITER, 0); mc_retm_if(params == NULL, "invalid play_playlist command"); @@ -377,7 +377,7 @@ static void __server_custom_cmd_cb(const char *interface_name, const char *signa mc_server_custom_cmd_received_cb callback = receiver->callback; mc_retm_if(receiver->callback == NULL, "custom_command_received_cb is NULL"); - mc_debug("__server_custom_cb(%s, %s, %s, %llu, %p)", interface_name, signal_name, message, request_id, user_data); + mc_debug("__server_custom_cb(%s, %s, %s, %s, %p)", interface_name, signal_name, message, request_id, user_data); params = g_strsplit(message, MC_STRING_DELIMITER, 0); mc_retm_if(params == NULL, "invalid custom data"); diff --git a/test/client_test/media_controller_client_test.c b/test/client_test/media_controller_client_test.c index 1c3f89f..94ae6ef 100755 --- a/test/client_test/media_controller_client_test.c +++ b/test/client_test/media_controller_client_test.c @@ -192,15 +192,15 @@ void _mc_cmd_reply_received_cb(const char *server_name, const char *request_id, } } if (!found) { - mc_error("[Client:%s] Wrong request_id", _client->client_name, request_id); + mc_error("[Client:%s] Wrong request_id[%s]", _client->client_name, request_id); } if (strcmp(request_id, g_request_id[TEST_REQ_CUSTOM_CMD]) == 0) { if (data) bundle_get_str(data, "key1", &value); - mc_debug("[Client:%s] Custom Command Reply (key1: %s)received from server[%s] result code[%d]", _client->client_name, request_id, value, server_name, result_code); + mc_debug("[Client:%s] Custom Command Reply (key1: %s)received from server[%s] result code[%d]", _client->client_name, value, server_name, result_code); } else { - mc_error("[Client:%s] Reply result code[%d] from server[%s]", _client->client_name, request_id, result_code, server_name); + mc_error("[Client:%s] Reply result code[%d] from server[%s]", _client->client_name, result_code, server_name); } }