From 9c195610dffd74b7006c501cd2727ce9f58cd44d Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 8 Feb 2017 19:27:46 +0100 Subject: [PATCH] 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 --- audio/ril_interface.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.20.1