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