diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2017-02-08 19:27:46 +0100 |
---|---|---|
committer | Christopher N. Hesse <raymanfx@gmail.com> | 2017-02-10 21:33:04 +0100 |
commit | 9c195610dffd74b7006c501cd2727ce9f58cd44d (patch) | |
tree | 512a1adcfbc99eecbf2a63898bbae99b38ae9d41 | |
parent | 41c9f3d2bcb51ec0f0d19aa0dbba147c1770b62d (diff) | |
download | android_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.c | 3 |
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; } |