Diff between c1a11f84561bff0a79fb210e931ce3748b4fc556 and 6d0f4da7b49fe0fa8bffbca48157a33814155595

Changed Files

File Additions Deletions Status
src/device.c +2 -1 modified

Full Patch

diff --git a/src/device.c b/src/device.c
index 3590b7f..c659164 100644
--- a/src/device.c
+++ b/src/device.c
@@ -899,7 +899,8 @@ static int connect_next(struct btd_device *dev, btd_profile_cb cb)
 		if (err == 0)
 			return 0;
 
-		error("Failed to connect %s", profile->name);
+		error("Failed to connect %s: %s", profile->name,
+							strerror(-err));
 		dev->pending = g_slist_remove(dev->pending, profile);
 	}