summaryrefslogtreecommitdiff
path: root/docs/CODING_STYLE.md
diff options
context:
space:
mode:
authorJoerg Behrmann <behrmann@physik.fu-berlin.de>2020-08-04 11:31:44 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-08-04 12:39:03 +0200
commitc90b6abc91fdf2c7d39b886581e3b277b0e6fe5b (patch)
tree2a42887c8a3cab0e25a4670347ff9c30e2e73618 /docs/CODING_STYLE.md
parent99fca0d3feb21418ca5569a58066fa2664c6f12e (diff)
downloadsystemd-c90b6abc91fdf2c7d39b886581e3b277b0e6fe5b.tar.gz
docs: spelling fixes
Diffstat (limited to 'docs/CODING_STYLE.md')
-rw-r--r--docs/CODING_STYLE.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/CODING_STYLE.md b/docs/CODING_STYLE.md
index f335a1012e..119b9a2640 100644
--- a/docs/CODING_STYLE.md
+++ b/docs/CODING_STYLE.md
@@ -372,7 +372,7 @@ layout: default
broken on Linux).
- When applying C-style unescaping as well as specifier expansion on the same
- string, always apply the C-style unescaping fist, followed by the specifier
+ string, always apply the C-style unescaping first, followed by the specifier
expansion. When doing the reverse, make sure to escape `%` in specifier-style
first (i.e. `%` → `%%`), and then do C-style escaping where necessary.
@@ -529,7 +529,7 @@ layout: default
- Don't use `fgets()`, it's too hard to properly handle errors such as overly
long lines. Use `read_line()` instead, which is our own function that handles
- this much nicer.
+ this much more nicely.
- Don't invoke `exit()`, ever. It is not replacement for proper error
handling. Please escalate errors up your call chain, and use normal `return`