Fix dlog format issues 77/194977/1
authorTaesoo Jun <steve.jun@samsung.com>
Mon, 10 Dec 2018 04:12:00 +0000 (13:12 +0900)
committerTaesoo Jun <steve.jun@samsung.com>
Mon, 10 Dec 2018 04:12:00 +0000 (13:12 +0900)
Change-Id: I629ec83d55eb7720f550efc68cb76780809be5c5

ag-agent/bluetooth-ag-agent.h [changed mode: 0755->0644]
ag-agent/bluetooth-ag-handler.c
ag-agent/bluetooth-ag-handler.h [changed mode: 0755->0644]
ag-agent/bluetooth-ag-manager.c
hf-agent/bluetooth-hf-agent.c [changed mode: 0755->0644]
map-agent/bluetooth_map_email.c
map-agent/bluetooth_map_sms.c
pb-agent/bluetooth_pb_agent.c
pb-agent/bluetooth_pb_vcard.c

old mode 100755 (executable)
new mode 100644 (file)
index eb3a39f..c1e3351 100644 (file)
@@ -677,7 +677,7 @@ int _bt_hfp_set_voice_dial(bt_ag_info_t *hs,
 int _bt_hfp_send_vendor_cmd(bt_ag_info_t *hs,
                const char *cmd)
 {
-       DBG("_bt_hfp_send_vendor_cmd = %d", cmd);
+       DBG("_bt_hfp_send_vendor_cmd = %s", cmd);
 
        if (_bt_ag_send_at(hs, "\r\n%s\r\n", cmd) < 0)
                return BT_HFP_AGENT_ERROR_INTERNAL;
old mode 100755 (executable)
new mode 100644 (file)
index d68b8e3..339bacd 100644 (file)
@@ -443,7 +443,7 @@ static struct telephony_call *__bt_hfp_create_new_call(
 
 gboolean _bt_hfp_is_call_exist(void)
 {
-       DBG("_bt_hfp_is_call_exist [%x]", existing_call_list);
+       DBG("_bt_hfp_is_call_exist [%p]", existing_call_list);
        if (existing_call_list)
                return TRUE;
        else
old mode 100755 (executable)
new mode 100644 (file)
index e66ed10..fa15018
@@ -2017,7 +2017,7 @@ bt_hf_agent_send_at_info *__bt_hf_agent_find_next(bt_hf_agent_info_t *bt_hf_info
        cmd = g_slist_nth_data(bt_hf_info->cmd_send_queue, 0);
        if (cmd) {
                bt_hf_info->cmd_send_queue = g_slist_remove(bt_hf_info->cmd_send_queue, cmd);
-               DBG("NEXT[%d] Found %s, context = 0x%x, pending = %d", cmd->id,
+               DBG("NEXT[%d] Found %s, context = 0x%p, pending = %d", cmd->id,
                                cmd->at_cmd, cmd->context, cmd->pending);
                        return cmd;
        }
index 0d088d0..09edbfb 100644 (file)
@@ -254,7 +254,7 @@ static void __bt_email_subscription_callback(GDBusConnection *connection,
 
                                old_folder = __bt_email_get_path(mailbox_from->mailbox_type);
                                handle = _bt_add_id(mailid, BT_MAP_ID_EMAIL);
-                               DBG("[MessageDeleted] Handle:%d", handle);
+                               DBG("[MessageDeleted] Handle:%llu", handle);
                                _bt_mns_client_event_notify("MessageShift", handle,
                                                "TELECOM/MSG/DELETED", old_folder, "EMAIL");
                                g_free(old_folder);
@@ -273,7 +273,7 @@ static void __bt_email_subscription_callback(GDBusConnection *connection,
                                        break;
 
                                handle = _bt_add_id(mailid, BT_MAP_ID_EMAIL);
-                               DBG("[SendingSuccess] Handle:%d", handle);
+                               DBG("[SendingSuccess] Handle:%llu", handle);
 
                                _bt_mns_client_event_notify("MessageShift", handle,
                                                "TELECOM/MSG/SENT", "TELECOM/MSG/OUTBOX", "EMAIL");
@@ -421,7 +421,7 @@ static message_info_t *__bt_email_info_get(email_mail_list_item_t *email_struct,
 #else
        snprintf(email_handle, sizeof(email_handle), "%llx", uid);
 #endif
-       DBG("******* MAP ID:%d, MailID:%d **********", uid, email_struct->mail_id);
+       DBG("******* MAP ID:%llu, MailID:%d **********", uid, email_struct->mail_id);
        email_info->handle = g_strdup(email_handle);
 
        dptime = email_struct->date_time;
@@ -737,8 +737,8 @@ static char *__bt_prepare_email_bmseg(email_mail_data_t *mail_data)
        g_free(folder);
 
        /* List of recepient & sender */
-       DBG("Sender: %d", mail_data->email_address_sender);
-       DBG("Sender Alias: %d", mail_data->alias_sender);
+       DBG("Sender: %s", mail_data->email_address_sender);
+       DBG("Sender Alias: %s", mail_data->alias_sender);
        g_string_append_printf(msg, EMAIL_VCARD, mail_data->email_address_sender,
                        mail_data->email_address_sender);
 
index 49993ee..eba780b 100644 (file)
@@ -896,7 +896,7 @@ static message_info_t *__bt_message_info_get(msg_struct_t msg_struct_handle,
 #else
        snprintf(msg_handle, sizeof(msg_handle), "%llx", uid);
 #endif
-       DBG("HANDLE: %s, MAP Id: %d, MSG ID:%d", msg_handle, uid, msg_id);
+       DBG("HANDLE: %s, MAP Id: %llu, MSG ID:%d", msg_handle, uid, msg_id);
        msg_info->handle = g_strdup(msg_handle);
 
        msg = msg_create_struct(MSG_STRUCT_MESSAGE_INFO);
@@ -1102,7 +1102,7 @@ gboolean _bt_map_get_sms_message_list(gchar *folder, guint16 max,
                goto fail;
 
        local_count = (guint64)msg_list.nCount;
-       DBG("msg_list.nCount: %d, count:%d", msg_list.nCount, local_count);
+       DBG("msg_list.nCount: %d, count:%llu", msg_list.nCount, local_count);
        for (i = 0; i < local_count; i++) {
                msg_get_bool_value(msg_list.msg_struct_info[i],
                                        MSG_MESSAGE_READ_BOOL, &read);
index d5f9664..176d810 100644 (file)
@@ -615,7 +615,7 @@ static GVariant *__bt_pb_get_phonebook_entry(PbAgentData *agent,
        gchar *str = NULL;
        const gchar *attr = NULL;
 
-       DBG_SECURE("folder: %s id: %s filter: %ld format: %d\n",
+       DBG_SECURE("folder: %s id: %s filter: %llu format: %d\n",
                        folder, id, filter, format);
 
        __bluetooth_pb_agent_timeout_add_seconds(agent);
index 292790e..ac43ef7 100644 (file)
@@ -1678,7 +1678,7 @@ static gchar *__bluetooth_pb_vcard_real_contact_valist_v21(gint person_id,
        if (f == 0)
                f = ~f;
 
-       DBG("filter[%x]\n", filter);
+       DBG("filter[%llu]\n", filter);
 
        str = g_string_new("BEGIN:VCARD\r\nVERSION:2.1\r\n");