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;
}
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;
}