summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-17 03:31:31 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-17 03:31:31 +0200
commit8630d370239482b6e4913e81011440b173e41b79 (patch)
tree53a9099a1185cf849bdec5658ddde44b50b91dde /src
parentc0b346969d79c6b405f9ca23ce18655fda1651d6 (diff)
device: be more verbose of udev confuses us
Diffstat (limited to 'src')
-rw-r--r--src/device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index c1d1b9ab09..7323192a71 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;
}