mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 10:51:20 +03:00
networkd: fix typo
V2: found another one
This commit is contained in:
parent
523c620bcd
commit
144232a8e0
@ -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);
|
r = sd_rtnl_message_neigh_get_ifindex(m, &ifi);
|
||||||
if (r < 0) {
|
if (r < 0) {
|
||||||
log_error_errno(r, "colud not get ifindex: %m");
|
log_error_errno(r, "could not get ifindex: %m");
|
||||||
continue;
|
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);
|
r = sd_rtnl_message_read_u32(m, RTA_OIF, &ifi);
|
||||||
if (r < 0) {
|
if (r < 0) {
|
||||||
log_error_errno(r, "colud not get RTA_OIF: %m");
|
log_error_errno(r, "could not get RTA_OIF: %m");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -503,7 +503,7 @@ static int netdev_create(NetDev *netdev, Link *link,
|
|||||||
r = sd_rtnl_message_append_u32(m, IFLA_LINK, link->ifindex);
|
r = sd_rtnl_message_append_u32(m, IFLA_LINK, link->ifindex);
|
||||||
if (r < 0) {
|
if (r < 0) {
|
||||||
log_netdev_error(netdev,
|
log_netdev_error(netdev,
|
||||||
"Colud not append IFLA_LINK attribute: %s",
|
"Could not append IFLA_LINK attribute: %s",
|
||||||
strerror(-r));
|
strerror(-r));
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user