From: Saurav Babu Date: Tue, 12 Dec 2017 04:03:51 +0000 (+0530) Subject: Fixed critical build issues X-Git-Tag: submit/tizen/20171212.082257^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=015e14f7d815ca61aee462c968d73ddb53bdbab8;p=platform%2Fcore%2Fapi%2Fwifi-manager.git Fixed critical build issues Change-Id: I1261576320587b6c6d77887e1bc7e8d446cc28f3 Signed-off-by: Saurav Babu --- diff --git a/src/network_interface.c b/src/network_interface.c index 9e57fb2..eb4620c 100755 --- a/src/network_interface.c +++ b/src/network_interface.c @@ -1964,8 +1964,8 @@ EXPORT_API int net_wifi_get_ap_auto_connect(const char *profile_name, gboolean * Error = _net_dbus_wifi_get_autoconnect(profile_name, autoconnect); if (Error != NET_ERR_NONE) - WIFI_LOG(WIFI_ERROR, "Failed to get autoconnect(%d), Error[%s]", - autoconnect, _net_print_error(Error)); + WIFI_LOG(WIFI_ERROR, "Failed to get autoconnect, Error[%s]", + _net_print_error(Error)); __NETWORK_FUNC_EXIT__; return Error; @@ -2439,7 +2439,7 @@ int net_set_ip_conflict_detect_mode(gboolean detect) Error = __net_set_ip_conflict_detect_mode(detect); if (Error != NET_ERR_NONE) { - WIFI_LOG(WIFI_ERROR, "Failed to set ip conflict detection enable", //LCOV_EXCL_LINE + WIFI_LOG(WIFI_ERROR, "Failed to set ip conflict detection enable, Error [%s]", //LCOV_EXCL_LINE _net_print_error(Error)); __NETWORK_FUNC_EXIT__; return Error; //LCOV_EXCL_LINE @@ -2457,7 +2457,7 @@ int net_ip_conflict_detect_is_enabled(gboolean *state) Error = __net_ip_conflict_detect_is_enabled(state); if (Error != NET_ERR_NONE) { - WIFI_LOG(WIFI_ERROR, "Failed to get ip conflict detection mode", //LCOV_EXCL_LINE + WIFI_LOG(WIFI_ERROR, "Failed to get ip conflict detection mode, Error [%s]", //LCOV_EXCL_LINE _net_print_error(Error)); __NETWORK_FUNC_EXIT__; return Error; //LCOV_EXCL_LINE diff --git a/src/wifi_manager.c b/src/wifi_manager.c index e055c0a..7833d9a 100755 --- a/src/wifi_manager.c +++ b/src/wifi_manager.c @@ -948,7 +948,7 @@ EXPORT_API int wifi_manager_set_ip_conflict_detect_enable(wifi_manager_h wifi, rv = _wifi_ip_conflict_detect_enable_set(detect); if (rv != WIFI_MANAGER_ERROR_NONE) - WIFI_LOG(WIFI_ERROR, "Failed to change ip conflict detect mode", rv); //LCOV_EXCL_LINE + WIFI_LOG(WIFI_ERROR, "Failed to change ip conflict detect mode"); //LCOV_EXCL_LINE return rv; }