diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-04-26 22:08:02 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-04-28 15:46:44 +0200 |
commit | 4d620b90d9af5fcb08800b74a209d2755b3da1c7 (patch) | |
tree | a72af05e896b513be9c3f2e7e3b9c1312eb179c9 /src/oom/oomd-manager.c | |
parent | man: direct users to systemd-oomd if they read about OOMPolicy (diff) | |
download | systemd-4d620b90d9af5fcb08800b74a209d2755b3da1c7.tar.xz systemd-4d620b90d9af5fcb08800b74a209d2755b3da1c7.zip |
oomd: "descendent" → "descendant"
The latter is the common spelling apparently.
Diffstat (limited to 'src/oom/oomd-manager.c')
-rw-r--r-- | src/oom/oomd-manager.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/oom/oomd-manager.c b/src/oom/oomd-manager.c index cbbf95a7e4..a28e97a178 100644 --- a/src/oom/oomd-manager.c +++ b/src/oom/oomd-manager.c @@ -180,13 +180,13 @@ finish: return r; } -/* Fill `new_h` with `path`'s descendent OomdCGroupContexts. Only include descendent cgroups that are possible +/* Fill 'new_h' with 'path's descendant OomdCGroupContexts. Only include descendant cgroups that are possible * candidates for action. That is, only leaf cgroups or cgroups with memory.oom.group set to "1". * - * This function ignores most errors in order to handle cgroups that may have been cleaned up while populating - * the hashmap. + * This function ignores most errors in order to handle cgroups that may have been cleaned up while + * populating the hashmap. * - * `new_h` is of the form { key: cgroup paths -> value: OomdCGroupContext } */ + * 'new_h' is of the form { key: cgroup paths -> value: OomdCGroupContext } */ static int recursively_get_cgroup_context(Hashmap *new_h, const char *path) { _cleanup_free_ char *subpath = NULL; _cleanup_closedir_ DIR *d = NULL; |