From 14717c9a5f2b4e90f5207cc1314e3358c995f6f2 Mon Sep 17 00:00:00 2001 From: Yu Date: Fri, 14 Dec 2018 14:17:51 +0900 Subject: [PATCH] Fix bug in dlog message format Change-Id: Iaa42369c7a5ebb8d4d62d66def07c1d6e2d1c981 Signed-off-by: Yu jiung --- packaging/ug-setting-wifidirect-efl.spec | 2 +- popup-wifidirect/src/wfd-app-popup-view.c | 2 +- popup-wifidirect/src/wfd-app-util.c | 2 +- ug-wifidirect/src/wfd_client.c | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) 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 */ -- 2.7.4