summaryrefslogtreecommitdiff
path: root/android/health.c
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2014-06-24 15:12:00 +0300
committerSzymon Janc <szymon.janc@tieto.com>2014-06-25 17:29:55 +0200
commitf756b74ba48d9c04b20b85b3a98fe569b207e9f6 (patch)
tree6e937de124f5b53747ddbd51c7e3a9493237ebc2 /android/health.c
parent32180fa3a649ec26f9f3891a0ff5e4fe16592b91 (diff)
downloadbluez-f756b74ba48d9c04b20b85b3a98fe569b207e9f6.tar.gz
android/health: Add actual error message to error print
Diffstat (limited to 'android/health.c')
-rw-r--r--android/health.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/health.c b/android/health.c
index c4df17a93..2613ca6b0 100644
--- a/android/health.c
+++ b/android/health.c
@@ -1285,7 +1285,7 @@ static void create_mcl_cb(struct mcap_mcl *mcl, GError *err, gpointer data)
ret = set_mcl_cb(channel->dev->mcl, channel->dev, &gerr);
if (!ret) {
- error("health: error setting mdl callbacks on mcl");
+ error("health: error setting mdl callbacks: %s", gerr->message);
g_error_free(gerr);
goto fail;
}