]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tree-wide: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 15 Feb 2021 06:47:17 +0000 (15:47 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 15 Feb 2021 09:15:04 +0000 (10:15 +0100)
src/fsck/fsck.c
src/network/networkd-route.c
src/resolve/resolved-dns-packet.c

index 94aa31e71ac11c0f3b08aaae57df78cad61f6e22..584d441c9425a65fc49597f5dd3f17c3118b75d1 100644 (file)
@@ -208,7 +208,7 @@ static int process_progress(int fd, FILE* console) {
                 p = percent(pass, cur, max);
                 r = fprintf(console, "\r%s: fsck %3.1f%% complete...\r", device, p);
                 if (r < 0)
-                        return -EIO; /* No point in continuing if something happend to our output stream */
+                        return -EIO; /* No point in continuing if something happened to our output stream */
 
                 fflush(console);
                 clear = MAX(clear, r);
index e46184535183996f41a6fc6767c33b5255f8e10e..6ab5941343f8d01455f3e385ac347001be17fa81 100644 (file)
@@ -839,15 +839,15 @@ static int manager_drop_routes_internal(Manager *manager, bool foreign, const Li
 
         routes = foreign ? manager->routes_foreign : manager->routes;
         SET_FOREACH(route, routes) {
-                /* Do not touch routes managed by the kernel */
+                /* Do not touch routes managed by the kernel. */
                 if (route->protocol == RTPROT_KERNEL)
                         continue;
 
-                /* The route will be configured later, or already configured by a link */
+                /* The route will be configured later, or already configured by a link. */
                 if (links_have_route(manager, route, except))
                         continue;
 
-                /* The existing links do not have the route. Let's drop this now. It may by
+                /* The existing links do not have the route. Let's drop this now. It may be
                  * re-configured later. */
                 k = route_remove(route, manager, NULL, NULL);
                 if (k < 0 && r >= 0)
index a4aafd603d18c1c7b81a9a48cb029edea9ad12c7..b1a68a74e2ead9c2562e2749ca4b1492419f1d28 100644 (file)
@@ -2459,7 +2459,7 @@ static int patch_rr(DnsPacket *p, usec_t age) {
 
         INIT_REWINDER(rewinder, p);
 
-        /* Patches the RR at the current rindex, substracts the specified time from the TTL */
+        /* Patches the RR at the current rindex, subtracts the specified time from the TTL */
 
         r = dns_packet_read_name(p, NULL, true, NULL);
         if (r < 0)