ryantimwilson / rpms / systemd

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