summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2008-10-14 21:58:51 +0100
committerJohan Hedberg <johan.hedberg@nokia.com>2008-10-15 00:22:40 +0300
commit19d73b1c58f87a80a7c82ce8e983c0360d3d0e87 (patch)
tree438b022a92ae0875c139154687ba8ab36468829c
parentd61fe8084a38ef56fda1dc58eb71f4937de2d3da (diff)
Better debug when failing to probe a device
The previous error message was a bit terse.
-rw-r--r--src/device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device.c b/src/device.c
index 7294d3ca..2a48406f 100644
--- a/src/device.c
+++ b/src/device.c
@@ -646,8 +646,8 @@ void device_probe_drivers(struct btd_device *device, GSList *uuids)
err = driver->probe(device, probe_uuids);
if (err < 0) {
- error("probe failed for driver %s",
- driver->name);
+ error("probe failed with driver %s for device %s",
+ driver->name, device->path);
g_free(driver_data);
g_slist_free(probe_uuids);