summaryrefslogtreecommitdiff
path: root/src/oom/oomd-util.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-02-15 10:08:16 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-02-15 10:08:16 +0900
commit0b75493da03fed3bf077791ce1289910eb6f6641 (patch)
tree521dfe26128adbbe60fb047a8dac5e78580628db /src/oom/oomd-util.h
parent0da4cc97b446b43802692f2415e5a774771b0ca9 (diff)
downloadsystemd-0b75493da03fed3bf077791ce1289910eb6f6641.tar.gz
tree-wide: fix typo and comment style update
Diffstat (limited to 'src/oom/oomd-util.h')
-rw-r--r--src/oom/oomd-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oom/oomd-util.h b/src/oom/oomd-util.h
index a758d5589b..f53e4c47e8 100644
--- a/src/oom/oomd-util.h
+++ b/src/oom/oomd-util.h
@@ -109,7 +109,7 @@ static inline int compare_swap_usage(OomdCGroupContext * const *c1, OomdCGroupCo
* Returns the number of sorted items; negative on error. */
int oomd_sort_cgroup_contexts(Hashmap *h, oomd_compare_t compare_func, const char *prefix, OomdCGroupContext ***ret);
-/* If the the cgroup is owned by root, or the cgroups represented by `ctx` and
+/* If the cgroup is owned by root, or the cgroups represented by `ctx` and
* `prefix` are owned by the same user, then set `ctx->preference` using the
* `user.oomd_avoid` and `user.oomd_omit` xattrs. Otherwise, set
* `ctx->preference` to MANAGED_OOM_PREFERENCE_NONE.