summaryrefslogtreecommitdiff
path: root/docs/CODING_STYLE.md
diff options
context:
space:
mode:
authorTomer Shechner <36572700+TomerShech@users.noreply.github.com>2020-07-07 04:35:35 +0300
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-07-07 10:50:36 +0900
commitc1495f8e9d08617b4b1ece01572f14e86e4165a2 (patch)
treee9344e6484db5086eabc9bbabd5914db851ec879 /docs/CODING_STYLE.md
parentd469cea3bde53bc39317c8b433c825bb4790cbe5 (diff)
downloadsystemd-c1495f8e9d08617b4b1ece01572f14e86e4165a2.tar.gz
fix typo
I was thoroughly reading your nice coding style page and found out that you guys missed an 's'. 😁
Diffstat (limited to 'docs/CODING_STYLE.md')
-rw-r--r--docs/CODING_STYLE.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/CODING_STYLE.md b/docs/CODING_STYLE.md
index 12a0c993fc..f335a1012e 100644
--- a/docs/CODING_STYLE.md
+++ b/docs/CODING_STYLE.md
@@ -521,7 +521,7 @@ layout: default
hence we might want to call it "big endian" right-away.
- Please never use `dup()`. Use `fcntl(fd, F_DUPFD_CLOEXEC, 3)` instead. For
- two reason: first, you want `O_CLOEXEC` set on the new `fd` (see
+ two reasons: first, you want `O_CLOEXEC` set on the new `fd` (see
above). Second, `dup()` will happily duplicate your `fd` as 0, 1, 2,
i.e. stdin, stdout, stderr, should those `fd`s be closed. Given the special
semantics of those `fd`s, it's probably a good idea to avoid