summaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-04-16 17:50:21 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-04-16 18:00:40 +0200
commit162392b75a0d23a40112f72e07100a8fe3f3d7cc (patch)
treeccbaee832f4cd62c53c246377ebfa0b05e924677 /src/basic
parentac24e418d9bc988ecf114c464701b35934948178 (diff)
downloadsystemd-162392b75a0d23a40112f72e07100a8fe3f3d7cc.tar.gz
tree-wide: spellcheck using codespell
Fixes #15436.
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/fs-util.h2
-rw-r--r--src/basic/unit-def.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/fs-util.h b/src/basic/fs-util.h
index 6b9ade2ec1..c2c39c4315 100644
--- a/src/basic/fs-util.h
+++ b/src/basic/fs-util.h
@@ -82,7 +82,7 @@ enum {
CHASE_SAFE = 1 << 3, /* Return EPERM if we ever traverse from unprivileged to privileged files or directories */
CHASE_TRAIL_SLASH = 1 << 4, /* Any trailing slash will be preserved */
CHASE_STEP = 1 << 5, /* Just execute a single step of the normalization */
- CHASE_NOFOLLOW = 1 << 6, /* Do not follow the path's right-most compontent. With ret_fd, when the path's
+ CHASE_NOFOLLOW = 1 << 6, /* Do not follow the path's right-most component. With ret_fd, when the path's
* right-most component refers to symlink, return O_PATH fd of the symlink. */
CHASE_WARN = 1 << 7, /* Emit an appropriate warning when an error is encountered */
};
diff --git a/src/basic/unit-def.h b/src/basic/unit-def.h
index 5979819dc0..edb3ff8fe8 100644
--- a/src/basic/unit-def.h
+++ b/src/basic/unit-def.h
@@ -7,7 +7,7 @@
/* The enum order is used to order unit jobs in the job queue
* when other criteria (cpu weight, nice level) are identical.
- * In this case service units have the hightest priority. */
+ * In this case service units have the highest priority. */
typedef enum UnitType {
UNIT_SERVICE = 0,
UNIT_MOUNT,