summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Panteleev <git@thecybershadow.net>2016-04-07 23:48:29 +0000
committerVladimir Panteleev <git@thecybershadow.net>2016-04-07 23:48:29 +0000
commit071e0b8b3a698e73bcaecba09ffccab5553d2365 (patch)
tree0a650b0c5a52bfca7a220a09eb0eb5e5d28c4e8f
parentf7152c19b97391fb97d9125f7a211f0e678ec081 (diff)
core: downgrade warning about duplicate device names again
Pull request #2412 seemed to have unintentionally reverted 5259bcf6a638d8d489db1ddefd55327aa15f3e51, thus reintroducing https://bugs.freedesktop.org/show_bug.cgi?id=90386. This commit reverts that part of the commit, changing the log level to debug again.
-rw-r--r--src/core/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/device.c b/src/core/device.c
index 28e4039da2..0671620a3e 100644
--- a/src/core/device.c
+++ b/src/core/device.c
@@ -322,7 +322,7 @@ static int device_setup_unit(Manager *m, struct udev_device *dev, const char *pa
/* This unit is in plugged state: we're sure it's
* attached to a device. */
if (!path_equal(DEVICE(u)->sysfs, sysfs)) {
- log_unit_error(u, "Dev %s appeared twice with different sysfs paths %s and %s",
+ log_unit_debug(u, "Dev %s appeared twice with different sysfs paths %s and %s",
e, DEVICE(u)->sysfs, sysfs);
return -EEXIST;
}