naccyde / rpms / systemd

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