chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0b3469
)
device: be more verbose of udev confuses us
author
Lennart Poettering
<lennart@poettering.net>
Tue, 17 Aug 2010 01:31:31 +0000
(
03:31
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 17 Aug 2010 01:31:31 +0000
(
03:31
+0200)
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index c1d1b9ab09d3c21f41568e697eb0135a8671cece..7323192a7176ddaa0fa46fd5181725904a79ea6c 100644
(file)
--- 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;
}