Fix dlog format error 43/195743/1 accepted/tizen/unified/20181218.152415 submit/tizen/20181218.064258
authorDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 18 Dec 2018 00:01:50 +0000 (09:01 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 18 Dec 2018 00:01:50 +0000 (09:01 +0900)
Change-Id: I1f6289520a89e357c917de2bff8fd6115ed97090
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-share/src/bt-share-cynara.c
bt-share/src/bt-share-notification.c
bt-share/src/obex-event-handler.c

index 74da2aaf4e1e58a26b45d64cca1243d6d79d3e2d..8f5223230932739775a70e05f62bb71897534937 100644 (file)
@@ -58,7 +58,7 @@ int _bt_share_cynara_get_creds(DBusConnection *conn, const char *sender,
        ret = cynara_creds_dbus_get_pid(conn, sender, &(creds->pid));
        if (ret < 0) {
                cynara_strerror(ret, error_msg, error_msg_size);
-               ERR("cynara_creds_dbus_get_pid failed: %s\n");
+               ERR("cynara_creds_dbus_get_pid fail\n");
                return BT_SHARE_FAIL;
        }
 
index 52a6a6c5ee8345251a9312d56375c22926c49b88..b59eae3bd12bd1fbeef596262eacb9aac689f5f4 100644 (file)
@@ -296,7 +296,7 @@ notification_h _bt_insert_notification(bt_appdata_t *ad,
                ad->receive_noti_id = noti_id;
 
        INFO("Insert %s type: %d ", (type == BT_SENT_NOTI ||
-                       type == BT_RECEIVED_NOTI) ? "Notification" : "Ongoing", noti);
+                       type == BT_RECEIVED_NOTI) ? "Notification" : "Ongoing", type);
 
        return noti;
 }
@@ -307,7 +307,7 @@ int _bt_update_notification(bt_appdata_t *ad,
 {
        retvm_if(!noti, BT_SHARE_FAIL, "noti is NULL");
 
-       INFO("Update noti : %d", noti);
+       INFO("Update noti : %p", noti);
        notification_error_e ret = NOTIFICATION_ERROR_NONE;
        int success = 0;
        int fail = 0;
@@ -431,7 +431,7 @@ int _bt_delete_notification(notification_h noti)
        retv_if(!noti, BT_SHARE_FAIL);
        notification_error_e ret = NOTIFICATION_ERROR_NONE;
 
-       INFO("Delete noti : %d", noti);
+       INFO("Delete noti : %p", noti);
 
        /* In case daemon, give full path */
        ret = notification_delete(noti);
index 312f2b7ed2f08baecba3af0102a7de2ac363fc76..9a6d51ca36f22f5ea620afb6dedbb4d210ba35be 100644 (file)
@@ -847,7 +847,7 @@ void _bt_share_event_handler(int event, bluetooth_event_param_t *param,
                        is_tr_wait = false;
                }
 
-               DBG("name address = [%x]", name);
+               DBG("name address = [%s]", name);
 
                _bt_convert_addr_type_to_string(bd_addr, node->addr);
                DBG_SECURE("bd_addr = [%s]", bd_addr);
@@ -1487,7 +1487,7 @@ static void __bt_obex_file_push_auth(bt_obex_server_authorize_into_t
                goto reject;
        }
 
-       INFO("File Length =%ld", server_auth_info->length);
+       INFO("File Length =%ld", (long int)server_auth_info->length);
 
        if (val == BT_DEFAULT_MEM_MMC) {
                ret = _bt_get_available_ext_memory(&available_ext_mem_size);
@@ -1509,7 +1509,7 @@ static void __bt_obex_file_push_auth(bt_obex_server_authorize_into_t
                        goto reject;
                }
 
-               INFO("available_int_mem_size =%lf", available_ext_mem_size);
+               INFO("available_int_mem_size =%llu", available_ext_mem_size);
                if (available_int_mem_size < server_auth_info->length) {
                        g_timeout_add(BT_APP_POPUP_LAUNCH_TIMEOUT,
                                (GSourceFunc)_bt_app_popup_memoryfull,