From: Yu Watanabe Date: Thu, 9 Jun 2022 23:26:08 +0000 (+0900) Subject: tree-wide: fix typo X-Git-Tag: v252-rc1~837 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74223cbe1422797360953b25463b84990514090a;p=thirdparty%2Fsystemd.git tree-wide: fix typo --- diff --git a/docs/BOOT_LOADER_SPECIFICATION.md b/docs/BOOT_LOADER_SPECIFICATION.md index 8a6a16c63f8..6e8a3316a7f 100644 --- a/docs/BOOT_LOADER_SPECIFICATION.md +++ b/docs/BOOT_LOADER_SPECIFICATION.md @@ -402,7 +402,7 @@ boots is exhausted, the entry is marked as "bad". Which boots are "successful" is determined by the operating system. systemd provides a generic mechanism that can be extended with arbitrary checks and -actions, see [Automatic Boot Assesment](AUTOMATIC_BOOT_ASSESSMENT.md), but the +actions, see [Automatic Boot Assessment](AUTOMATIC_BOOT_ASSESSMENT.md), but the boot counting mechanism described in this specifaction can also be used with other implementations. diff --git a/docs/CODING_STYLE.md b/docs/CODING_STYLE.md index 3599db57fb3..b7e700237ad 100644 --- a/docs/CODING_STYLE.md +++ b/docs/CODING_STYLE.md @@ -648,7 +648,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later - Use `typesafe_inet_ntop()`, `typesafe_inet_ntop4()`, and `typesafe_inet_ntop6()` instead of `inet_ntop()`. But better yet, use the `IN_ADDR_TO_STRING()`, `IN4_ADDR_TO_STRING()`, and `IN6_ADDR_TO_STRING()` - macros which allocate an anynomous buffer internally. + macros which allocate an anonymous buffer internally. - Please never use `dup()`. Use `fcntl(fd, F_DUPFD_CLOEXEC, 3)` instead. For two reasons: first, you want `O_CLOEXEC` set on the new `fd` (see diff --git a/src/shared/firewall-util-nft.c b/src/shared/firewall-util-nft.c index 2604dbd15ec..331aaf3f0b4 100644 --- a/src/shared/firewall-util-nft.c +++ b/src/shared/firewall-util-nft.c @@ -928,7 +928,7 @@ static int nft_set_element_op_in_addr_open( r = nft_set_element_op_in_addr(nfnl, table, set, add, nfproto, af, address, prefixlen); - log_debug("%s NFT family %s table %s set %s IP addresss %s", + log_debug("%s NFT family %s table %s set %s IP address %s", add ? "Added" : "Deleted", nfproto_to_string(nfproto), table, set, IN_ADDR_PREFIX_TO_STRING(af, address, prefixlen));