[systemd-devel] [PATCH V2] networkd: fix typo

Torstein Husebø torstein at huseboe.net
Wed Dec 3 11:59:00 PST 2014


V2: found another one
---
 src/network/networkctl.c      | 4 ++--
 src/network/networkd-netdev.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/network/networkctl.c b/src/network/networkctl.c
index 622533053c..a763630061 100644
--- a/src/network/networkctl.c
+++ b/src/network/networkctl.c
@@ -333,7 +333,7 @@ static int get_gateway_description(sd_rtnl *rtnl, struct udev_hwdb *hwdb, int if
 
                 r = sd_rtnl_message_neigh_get_ifindex(m, &ifi);
                 if (r < 0) {
-                        log_error_errno(r, "colud not get ifindex: %m");
+                        log_error_errno(r, "could not get ifindex: %m");
                         continue;
                 }
 
@@ -427,7 +427,7 @@ static int dump_gateways(sd_rtnl *rtnl, struct udev_hwdb *hwdb, const char *pref
 
                 r = sd_rtnl_message_read_u32(m, RTA_OIF, &ifi);
                 if (r < 0) {
-                        log_error_errno(r, "colud not get RTA_OIF: %m");
+                        log_error_errno(r, "could not get RTA_OIF: %m");
                         continue;
                 }
 
diff --git a/src/network/networkd-netdev.c b/src/network/networkd-netdev.c
index a08236e7c3..b75eab9cd8 100644
--- a/src/network/networkd-netdev.c
+++ b/src/network/networkd-netdev.c
@@ -503,7 +503,7 @@ static int netdev_create(NetDev *netdev, Link *link,
                         r = sd_rtnl_message_append_u32(m, IFLA_LINK, link->ifindex);
                         if (r < 0) {
                                 log_netdev_error(netdev,
-                                                 "Colud not append IFLA_LINK attribute: %s",
+                                                 "Could not append IFLA_LINK attribute: %s",
                                                  strerror(-r));
                                 return r;
                         }
-- 
2.2.0



More information about the systemd-devel mailing list