Fix dlog format error 97/195797/1 accepted/tizen/unified/20181218.152410 submit/tizen/20181218.064258
authorDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 18 Dec 2018 06:43:33 +0000 (15:43 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 18 Dec 2018 06:43:33 +0000 (15:43 +0900)
Change-Id: Ief5889856199af38449450ce23b88f7832e21728
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
common/src/libraries/bt-callback.c
common/src/ui/bt-main-view.c

index 16d2c25..12b983d 100644 (file)
@@ -340,9 +340,9 @@ static void __bt_cb_new_device_found(bt_adapter_device_discovery_info_s *info,
        ugd = (bt_ug_data *)data;
        ret_if(ugd->op_status != BT_SEARCHING);
 
-       BT_DBG("major_device_class: %d, %x", info->bt_class.major_device_class);
-       BT_DBG("minor_device_class: %d, %x", info->bt_class.minor_device_class);
-       BT_DBG("major_service_class_mask: %d, %x", info->bt_class.major_service_class_mask);
+       BT_DBG("major_device_class: %d", info->bt_class.major_device_class);
+       BT_DBG("minor_device_class: %d", info->bt_class.minor_device_class);
+       BT_DBG("major_service_class_mask: %d", info->bt_class.major_service_class_mask);
 
        /* Check the service_class */
        if (__bt_cb_match_discovery_type(
index d70e9f4..add5a55 100644 (file)
@@ -208,7 +208,7 @@ static char *__bt_main_device_label_get(void *data, Evas_Object *obj,
                        }
                }
 
-               BT_DBG("ugd->phone_name : %s[%d]", ugd->phone_name, strlen(ugd->phone_name));
+               BT_DBG("ugd->phone_name : %s[%zd]", ugd->phone_name, strlen(ugd->phone_name));
                /* Check the utf8 valitation & Fill the NULL in the invalid location */
                if (!g_utf8_validate(ugd->phone_name, -1, (const char **)&ptr))
                        *ptr = '\0';
@@ -227,7 +227,7 @@ static char *__bt_main_device_label_get(void *data, Evas_Object *obj,
                elm_access_info_set(ao, ELM_ACCESS_INFO, str);
 #endif
                FN_END;
-               BT_DBG("buf : %s[%d]", buf, strlen(buf));
+               BT_DBG("buf : %s[%zd]", buf, strlen(buf));
                return strdup(buf);
        } else if (!strcmp("elm.text.sub", part)) {
                g_strlcpy(buf, BT_STR_MY_DEVICE,