]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: update comment 21533/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 26 Nov 2021 12:01:30 +0000 (21:01 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 26 Nov 2021 12:05:52 +0000 (21:05 +0900)
Addresses https://github.com/systemd/systemd/pull/21517#discussion_r757096584.

src/network/networkd-setlink.c

index 8b4496540903757e10e241e53790a0fa154f861b..e7b39778da603daecbb9fe99bb245d2a2581c894 100644 (file)
@@ -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);