]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: link: downgrade log level
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 28 Apr 2021 13:17:39 +0000 (22:17 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 28 Apr 2021 18:16:30 +0000 (03:16 +0900)
The error is harmless, and will be ignored. Let's downgrade log level.

src/network/networkd-link.c

index 63f31b72010ec73871f6d5f2de7fee5f95da9b17..e851e9e51b1288daa90f387e3c85c74dd323f296 100644 (file)
@@ -2450,7 +2450,7 @@ static int link_add(Manager *m, sd_netlink_message *message, Link **ret) {
                 sprintf(ifindex_str, "n%d", link->ifindex);
                 r = sd_device_new_from_device_id(&device, ifindex_str);
                 if (r < 0) {
-                        log_link_warning_errno(link, r, "Could not find device, waiting for device initialization: %m");
+                        log_link_debug_errno(link, r, "Could not find device, waiting for device initialization: %m");
                         return 0;
                 }