From 19d73b1c58f87a80a7c82ce8e983c0360d3d0e87 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 14 Oct 2008 21:58:51 +0100 Subject: Better debug when failing to probe a device The previous error message was a bit terse. --- src/device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit