]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: remove redundant %m in error message
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 9 Feb 2020 14:44:11 +0000 (23:44 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 27 Feb 2020 11:28:29 +0000 (20:28 +0900)
src/network/networkd-dhcp4.c

index 8bdc28be81e8e539ac6b0b1aaf9d69b3b0fd2ff1..5f5a21a59f506f6a152ac3bb6d29e215cb8ca6a2 100644 (file)
@@ -74,11 +74,11 @@ static int dhcp4_route_handler(sd_netlink *rtnl, sd_netlink_message *m, Link *li
                 /* It seems kernel does not support that the prefix route cannot be configured with
                  * route table. Let's once drop the config and reconfigure them later. */
 
-                log_link_message_debug_errno(link, m, r, "Could not set DHCPv4 route, retrying later: %m");
+                log_link_message_debug_errno(link, m, r, "Could not set DHCPv4 route, retrying later");
                 link->dhcp4_route_failed = true;
                 link->manager->dhcp4_prefix_root_cannot_set_table = true;
         } else if (r < 0 && r != -EEXIST) {
-                log_link_message_warning_errno(link, m, r, "Could not set DHCPv4 route: %m");
+                log_link_message_warning_errno(link, m, r, "Could not set DHCPv4 route");
                 link_enter_failed(link);
                 return 1;
         }