From: Yu Date: Fri, 14 Dec 2018 05:17:51 +0000 (+0900) Subject: Fix bug in dlog message format X-Git-Tag: accepted/tizen/unified/20181217.142356^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F05%2F195505%2F1;hp=9fe0c572d9f57850c2985e0d57ffc88cbfca4c3c;p=apps%2Fnative%2Fug-wifi-direct.git Fix bug in dlog message format Change-Id: Iaa42369c7a5ebb8d4d62d66def07c1d6e2d1c981 Signed-off-by: Yu jiung --- diff --git a/packaging/ug-setting-wifidirect-efl.spec b/packaging/ug-setting-wifidirect-efl.spec index b17e0b5..a3dafa6 100644 --- a/packaging/ug-setting-wifidirect-efl.spec +++ b/packaging/ug-setting-wifidirect-efl.spec @@ -1,6 +1,6 @@ Name: ug-setting-wifidirect-efl Summary: Wi-Fi Direct setting UI gadget -Version: 1.11.88 +Version: 1.11.89 Release: 1 Group: Applications/Network License: Flora-1.1 diff --git a/popup-wifidirect/src/wfd-app-popup-view.c b/popup-wifidirect/src/wfd-app-popup-view.c index bb435c1..3b4fcf3 100755 --- a/popup-wifidirect/src/wfd-app-popup-view.c +++ b/popup-wifidirect/src/wfd-app-popup-view.c @@ -81,7 +81,7 @@ static void __popup_resp_cb(void *data, Evas_Object * obj, void *event_info) char msg[WFD_POP_STR_MAX_LEN] = {0}; char *format_str = NULL; - WFD_APP_LOG(WFD_APP_LOG_HIGH, "popup resp : %d\n", resp); + WFD_APP_LOG(WFD_APP_LOG_HIGH, "popup resp : %lu\n", resp); switch (resp) { case /* MT */ WFD_POP_RESP_APRV_CONNECT_PBC_YES: diff --git a/popup-wifidirect/src/wfd-app-util.c b/popup-wifidirect/src/wfd-app-util.c index c61b9e3..5b80486 100644 --- a/popup-wifidirect/src/wfd-app-util.c +++ b/popup-wifidirect/src/wfd-app-util.c @@ -113,7 +113,7 @@ static void _move_data_to_app_control(const char *key, const int type, size_t size = 0; - WFD_RET_IF(data == NULL || key == NULL || type == 0, , "Invialid parameter!"); + WFD_RET_IF(data == NULL || key == NULL || type == 0, "Invialid parameter!"); app_control_h control = data; diff --git a/ug-wifidirect/src/wfd_client.c b/ug-wifidirect/src/wfd_client.c index ce64950..3be0faf 100644 --- a/ug-wifidirect/src/wfd_client.c +++ b/ug-wifidirect/src/wfd_client.c @@ -251,7 +251,7 @@ int wfd_mobile_ap_on(void *data) /* Register cbs */ ret = tethering_set_enabled_cb(ugd->hotspot_handle, TETHERING_TYPE_WIFI, __enabled_cb, ugd); if (ret != TETHERING_ERROR_NONE) { - DBG(LOG_ERROR, "tethering_set_enabled_cb is failed\n", ret); + DBG(LOG_ERROR, "tethering_set_enabled_cb is failed [%d]\n", ret); return -1; } @@ -289,7 +289,7 @@ int wfd_mobile_ap_off(void *data) /* Register cbs */ ret = tethering_set_disabled_cb(ugd->hotspot_handle, TETHERING_TYPE_WIFI, __disabled_cb, ugd); if (ret != TETHERING_ERROR_NONE) { - DBG(LOG_ERROR, "tethering_set_disabled_cb is failed\n", ret); + DBG(LOG_ERROR, "tethering_set_disabled_cb is failed [%d] \n", ret); return -1; } /* Disable tethering */