From a776b9f87f4fd7b5d36ab555f531a2e962afa2fe Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Mon, 10 Dec 2018 19:32:22 +0900 Subject: [PATCH] Fix dlog format error Change-Id: I15d985517accb0e799aa7b8f8527d80f358a22a2 --- packaging/ug-setting-mobileap-efl.spec | 2 +- src/mh_common_utility.c | 2 +- src/mh_func_onoff.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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; } -- 2.7.4