naccyde / rpms / systemd

Forked from rpms/systemd a year ago
Clone
803fb7
From ad2cedec3cf3e6ddefd70d9f3dece3ca837676cf Mon Sep 17 00:00:00 2001
803fb7
From: Lennart Poettering <lennart@poettering.net>
803fb7
Date: Thu, 23 Apr 2015 13:50:01 +0200
803fb7
Subject: [PATCH] core: downgrade warning about duplicate device names
803fb7
803fb7
http://lists.freedesktop.org/archives/systemd-devel/2015-April/031094.html
803fb7
803fb7
Cherry-picked from: 5259bcf6a638d8d489db1ddefd55327aa15f3e51
803fb7
Resolves: #1296249
803fb7
---
803fb7
 src/core/device.c | 2 +-
803fb7
 1 file changed, 1 insertion(+), 1 deletion(-)
803fb7
803fb7
diff --git a/src/core/device.c b/src/core/device.c
803fb7
index 8a6855dfc..1995e3c0b 100644
803fb7
--- a/src/core/device.c
803fb7
+++ b/src/core/device.c
803fb7
@@ -317,7 +317,7 @@ static int device_setup_unit(Manager *m, struct udev_device *dev, const char *pa
803fb7
         if (u &&
803fb7
             DEVICE(u)->sysfs &&
803fb7
             !path_equal(DEVICE(u)->sysfs, sysfs)) {
803fb7
-                log_unit_error(u->id, "Device %s appeared twice with different sysfs paths %s and %s", e, DEVICE(u)->sysfs, sysfs);
803fb7
+                log_unit_debug(u->id, "Device %s appeared twice with different sysfs paths %s and %s", e, DEVICE(u)->sysfs, sysfs);
803fb7
                 return -EEXIST;
803fb7
         }
803fb7