]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fix typo
authorTomer Shechner <36572700+TomerShech@users.noreply.github.com>
Tue, 7 Jul 2020 01:35:35 +0000 (04:35 +0300)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 7 Jul 2020 01:50:36 +0000 (10:50 +0900)
I was thoroughly reading your nice coding style page and found out that you guys missed an 's'.

😁

docs/CODING_STYLE.md

index 12a0c993fc99f37eb224458983d4adc48a25f078..f335a1012ebe238c0a5520fd77c865a27debd1a0 100644 (file)
@@ -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