From: Yu Watanabe Date: Fri, 26 Nov 2021 12:01:30 +0000 (+0900) Subject: network: update comment X-Git-Tag: v250-rc1~134^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F21533%2Fhead;p=thirdparty%2Fsystemd.git network: update comment Addresses https://github.com/systemd/systemd/pull/21517#discussion_r757096584. --- diff --git a/src/network/networkd-setlink.c b/src/network/networkd-setlink.c index 8b449654090..e7b39778da6 100644 --- a/src/network/networkd-setlink.c +++ b/src/network/networkd-setlink.c @@ -543,9 +543,9 @@ static bool link_is_ready_to_call_set_link(Request *req) { break; case SET_LINK_MAC: if (req->netlink_handler == link_set_mac_handler) { - /* This is the second trial to set hardware address. On the first attempt + /* This is the second attempt to set hardware address. On the first attempt * req->netlink_handler points to link_set_mac_allow_retry_handler(). - * The first trial failed as the interface was up. */ + * The first attempt failed as the interface was up. */ r = link_down(link); if (r < 0) { link_enter_failed(link);