diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-06-10 08:26:08 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-06-10 08:26:08 +0900 |
commit | 74223cbe1422797360953b25463b84990514090a (patch) | |
tree | 1afec23527cdab03bc7b5dd67973161d5080a6b1 /docs/CODING_STYLE.md | |
parent | 18b7a9628e3cc745365b409069856db8bc066cd0 (diff) | |
download | systemd-74223cbe1422797360953b25463b84990514090a.tar.gz |
tree-wide: fix typo
Diffstat (limited to 'docs/CODING_STYLE.md')
-rw-r--r-- | docs/CODING_STYLE.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/CODING_STYLE.md b/docs/CODING_STYLE.md index 3599db57fb..b7e700237a 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 |