diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-02-15 15:47:17 +0900 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-15 10:15:04 +0100 |
commit | 0f1f933b6e91333e7c7fe20b2f5db599c6b6f239 (patch) | |
tree | 5ef57846a731853724c87bdbc23dd62f73ebb330 /src | |
parent | c39e36203ff79a831c93dfb9380c967cd7fdbb99 (diff) | |
download | systemd-0f1f933b6e91333e7c7fe20b2f5db599c6b6f239.tar.gz |
tree-wide: fix typo
Diffstat (limited to 'src')
-rw-r--r-- | src/fsck/fsck.c | 2 | ||||
-rw-r--r-- | src/network/networkd-route.c | 6 | ||||
-rw-r--r-- | src/resolve/resolved-dns-packet.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/fsck/fsck.c b/src/fsck/fsck.c index 94aa31e71a..584d441c94 100644 --- a/src/fsck/fsck.c +++ b/src/fsck/fsck.c @@ -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); diff --git a/src/network/networkd-route.c b/src/network/networkd-route.c index e461845351..6ab5941343 100644 --- a/src/network/networkd-route.c +++ b/src/network/networkd-route.c @@ -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) diff --git a/src/resolve/resolved-dns-packet.c b/src/resolve/resolved-dns-packet.c index a4aafd603d..b1a68a74e2 100644 --- a/src/resolve/resolved-dns-packet.c +++ b/src/resolve/resolved-dns-packet.c @@ -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) |