From: Lennart Poettering Date: Tue, 17 Aug 2010 01:31:31 +0000 (+0200) Subject: device: be more verbose of udev confuses us X-Git-Tag: v8~69 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8630d370239482b6e4913e81011440b173e41b79;p=systemd device: be more verbose of udev confuses us --- diff --git a/src/device.c b/src/device.c index c1d1b9ab..7323192a 100644 --- a/src/device.c +++ b/src/device.c @@ -190,7 +190,8 @@ static int device_update_unit(Manager *m, struct udev_device *dev, const char *p /* If this is a different unit, then let's not merge things */ if (u && DEVICE(u)->sysfs && !path_equal(DEVICE(u)->sysfs, sysfs)) { - log_error("Hmm, something's broken. Asked to create two devices with same name but different sysfs paths."); + log_error("Hmm, something's broken. Asked to create two devices with same name but different sysfs paths. (%s vs %s)", + DEVICE(u)->sysfs, sysfs); return -EEXIST; }