summaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-11-13 16:19:49 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-11-13 16:28:47 +0900
commitd51c4fca291c6b8e566df65b0fd6e6262c3bf988 (patch)
tree4cb4d803f5002c1160272da6a6a964081608cac9 /src/basic
parente2357b1c8a87b610066b8b2a59517bcfb20b832e (diff)
downloadsystemd-d51c4fca291c6b8e566df65b0fd6e6262c3bf988.tar.gz
tree-wide: fix "a the" or "the a"
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/cgroup-util.c5
-rw-r--r--src/basic/fs-util.c2
2 files changed, 3 insertions, 4 deletions
diff --git a/src/basic/cgroup-util.c b/src/basic/cgroup-util.c
index 98329a954d..f28bf1866a 100644
--- a/src/basic/cgroup-util.c
+++ b/src/basic/cgroup-util.c
@@ -1875,9 +1875,8 @@ int cg_mask_supported(CGroupMask *ret) {
if (r > 0) {
_cleanup_free_ char *root = NULL, *controllers = NULL, *path = NULL;
- /* In the unified hierarchy we can read the supported
- * and accessible controllers from a the top-level
- * cgroup attribute */
+ /* In the unified hierarchy we can read the supported and accessible controllers from
+ * the top-level cgroup attribute */
r = cg_get_root_path(&root);
if (r < 0)
diff --git a/src/basic/fs-util.c b/src/basic/fs-util.c
index fdd99467c7..6924f5dfb1 100644
--- a/src/basic/fs-util.c
+++ b/src/basic/fs-util.c
@@ -810,7 +810,7 @@ int chase_symlinks(const char *path, const char *original_root, unsigned flags,
*
* 3. With CHASE_STEP: in this case only a single step of the normalization is executed, i.e. only the first
* symlink or ".." component of the path is resolved, and the resulting path is returned. This is useful if
- * a caller wants to trace the a path through the file system verbosely. Returns < 0 on error, > 0 if the
+ * a caller wants to trace the path through the file system verbosely. Returns < 0 on error, > 0 if the
* path is fully normalized, and == 0 for each normalization step. This may be combined with
* CHASE_NONEXISTENT, in which case 1 is returned when a component is not found.
*