From 071e0b8b3a698e73bcaecba09ffccab5553d2365 Mon Sep 17 00:00:00 2001 From: Vladimir Panteleev Date: Thu, 7 Apr 2016 23:48:29 +0000 Subject: 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. --- src/core/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3-54-g00ecf