]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Fix a few docs typos (#10907)
authornikolas <nnyby@columbia.edu>
Fri, 23 Nov 2018 19:28:39 +0000 (14:28 -0500)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 23 Nov 2018 19:28:39 +0000 (04:28 +0900)
Found with [codespell](https://github.com/codespell-project/codespell)

docs/AUTOMATIC_BOOT_ASSESSMENT.md
docs/BOOT_LOADER_SPECIFICATION.md
docs/CGROUP_DELEGATION.md
docs/CODING_STYLE.md

index 0909d88b5cac007f83df7740b4b08ca94948c21f..83acdab446531d434eb4ffd68ac9798ccea44856 100644 (file)
@@ -32,7 +32,7 @@ components:
 * The
   [`systemd-boot-check-no-failures.service(8)`](https://www.freedesktop.org/software/systemd/man/systemd-boot-check-no-failures.service.html)
   service is a simple health check tool that determines whether the boot
-  completed successfuly. When enabled it becomes an indirect dependency of
+  completed successfully. When enabled it becomes an indirect dependency of
   `systemd-bless-boot.service` (by means of `boot-complete.target`, see
   below), ensuring that the boot will not be considered successful if there are
   any failed services.
@@ -99,7 +99,7 @@ Here's an example walkthrough of how this all fits together.
    newest boot entry is now tried, i.e. the system automatically reverted back
    to an earlier version.
 
-The above describes the walkthrough when the selected boot entry continously
+The above describes the walkthrough when the selected boot entry continuously
 fails. Let's have a look at an alternative ending to this walkthrough. In this
 scenario the first 4 steps are the same as above:
 
index 1cd54637385aabc975f87749ec3f39e13c8002b0..3724f78a800bf81710d8b77b6d242020cb8ee94a 100644 (file)
@@ -52,7 +52,7 @@ For systems where the firmware is able to read file systems directly, `$BOOT` mu
 This specification defines two types of boot loader entries. The first type is
 text based, very simple and suitable for a variety of firmware, architecture
 and image types ("Type #1"). The second type is specific to EFI, but allows
-single-file images that embedd all metadata in the kernel binary itself, which
+single-file images that embed all metadata in the kernel binary itself, which
 is useful to cryptographically sign them as one file for the purpose of
 SecureBoot ("Type #2").
 
index c63b75e58b39e5604cf1c9bedf67d74568e25571..26c7466b87cddf824bb8a4bfb7bbcdf1d82b8bf2 100644 (file)
@@ -122,7 +122,7 @@ thinking about them as orthogonal won't help you in the long run anyway.
 If you wonder how to detect which of these three modes is currently used, use
 `statfs()` on `/sys/fs/cgroup/`. If it reports `CGROUP2_SUPER_MAGIC` in its
 `.f_type` field, then you are in unified mode. If it reports `TMPFS_MAGIC` then
-you are either in legacy or hybrid mode. To distuingish these two cases, run
+you are either in legacy or hybrid mode. To distinguish these two cases, run
 `statfs()` again on `/sys/fs/cgroup/unified/`. If that succeeds and reports
 `CGROUP2_SUPER_MAGIC` you are in hybrid mode, otherwise not.
 
index 8a3a6e2b40220a02bf8ffedf04f9ea03075337da..81a10eb88b455e83d795be25abf79a1da2c727a2 100644 (file)
 - To determine the length of a constant string `"foo"`, don't bother with
   `sizeof("foo")-1`, please use `strlen()` instead (both gcc and clang optimize
   the call away for fixed strings). The only exception is when declaring an
-  array. In that case use STRLEN, which evalutates to a static constant and
+  array. In that case use STRLEN, which evaluates to a static constant and
   doesn't force the compiler to create a VLA.
 
 - If you want to concatenate two or more strings, consider using `strjoina()`
   implement the public shared object we provide (sd-bus, sd-login, sd-id128,
   nss-systemd, nss-mymachines, nss-resolve, nss-myhostname, pam_systemd), must
   be located in `src/basic` (those objects are not allowed to link to
-  libsystemd-shared.so). Conversly, anything which is shared between multiple
+  libsystemd-shared.so). Conversely, anything which is shared between multiple
   components and does not need to be in `src/basic/`, should be in
   `src/shared/`.