Commit 8630d370 authored by Lennart Poettering's avatar Lennart Poettering
Browse files

device: be more verbose of udev confuses us

parent c0b34696
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment