From: Seonah Moon Date: Mon, 10 Dec 2018 10:32:22 +0000 (+0900) Subject: Fix dlog format error X-Git-Tag: accepted/tizen/5.5/unified/20191031.014625^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_5.5_wearable_hotfix;p=apps%2Fnative%2Fug-mobile-ap.git Fix dlog format error Change-Id: I15d985517accb0e799aa7b8f8527d80f358a22a2 --- diff --git a/packaging/ug-setting-mobileap-efl.spec b/packaging/ug-setting-mobileap-efl.spec index d337fdc..b63a140 100755 --- a/packaging/ug-setting-mobileap-efl.spec +++ b/packaging/ug-setting-mobileap-efl.spec @@ -3,7 +3,7 @@ Name: ug-setting-mobileap-efl Summary: Tethering UI Gadget Library -Version: 1.0.160 +Version: 1.0.161 Release: 1 Group: App/Network License: Flora-1.1 diff --git a/src/mh_common_utility.c b/src/mh_common_utility.c index bab0256..f12206d 100644 --- a/src/mh_common_utility.c +++ b/src/mh_common_utility.c @@ -559,7 +559,7 @@ connection_cellular_state_e _get_cellular_state(void) } ret = connection_get_cellular_state(handle, &cellular_state); if (ret != CONNECTION_ERROR_NONE) { - ERR("connection_get_cellular_state() is failed : %d\n"); + ERR("connection_get_cellular_state() is failed : %d\n", ret); connection_destroy(handle); return CONNECTION_CELLULAR_STATE_OUT_OF_SERVICE; } diff --git a/src/mh_func_onoff.c b/src/mh_func_onoff.c index b251f95..c288559 100644 --- a/src/mh_func_onoff.c +++ b/src/mh_func_onoff.c @@ -147,7 +147,7 @@ static bool __is_connected_wifi_net(mh_appdata_t *ad) ret = connection_get_wifi_state(ad->conn_handle, &wifi_state); if (ret != CONNECTION_ERROR_NONE) { - ERR("connection_get_wifi_state() is failed : %d\n"); + ERR("connection_get_wifi_state() is failed : %d\n", ret); return false; } @@ -167,7 +167,7 @@ static bool __is_connected_ethernet_net(mh_appdata_t *ad) ret = connection_get_ethernet_state(ad->conn_handle, ðernet_state); if (ret != CONNECTION_ERROR_NONE) { - ERR("connection_get_ethernet_state() is failed : %d\n"); + ERR("connection_get_ethernet_state() is failed : %d\n", ret); return false; }