summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2017-02-08 19:27:46 +0100
committerChristopher N. Hesse <raymanfx@gmail.com>2017-02-10 21:33:04 +0100
commit9c195610dffd74b7006c501cd2727ce9f58cd44d (patch)
tree512a1adcfbc99eecbf2a63898bbae99b38ae9d41
parent41c9f3d2bcb51ec0f0d19aa0dbba147c1770b62d (diff)
downloadandroid_hardware_samsung-9c195610dffd74b7006c501cd2727ce9f58cd44d.tar.gz
android_hardware_samsung-9c195610dffd74b7006c501cd2727ce9f58cd44d.tar.bz2
android_hardware_samsung-9c195610dffd74b7006c501cd2727ce9f58cd44d.zip
audio: Improve error message for RILD connection
We need to make it more prominent so people recognize it and fix their connection. Change-Id: I36218ac130351b053f7fda2319d797885ac0930e
-rw-r--r--audio/ril_interface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/ril_interface.c b/audio/ril_interface.c
index 179e120..e9c7e72 100644
--- a/audio/ril_interface.c
+++ b/audio/ril_interface.c
@@ -89,7 +89,8 @@ static int ril_connect_if_required(struct ril_handle *ril)
rc = Connect_RILD(ril->client);
if (rc != RIL_CLIENT_ERR_SUCCESS) {
- ALOGE("Connect_RILD() failed");
+ ALOGE("FATAL: Failed to connect to RILD: %s",
+ strerror(errno));
return -1;
}