]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: downgrade warning about duplicate device names again 2987/head
authorVladimir Panteleev <git@thecybershadow.net>
Thu, 7 Apr 2016 23:48:29 +0000 (23:48 +0000)
committerVladimir Panteleev <git@thecybershadow.net>
Thu, 7 Apr 2016 23:48:29 +0000 (23:48 +0000)
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.

src/core/device.c

index 28e4039da20084dd77e2ec38685257e3029aa435..0671620a3ed18c37f3c4597f01a6e0a118bba361 100644 (file)
@@ -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;
                 }