From: Yu Watanabe Date: Sun, 5 Oct 2025 13:58:08 +0000 (+0900) Subject: core/cgroup: fix indentation X-Git-Tag: v259-rc1~313^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf600342afe0bf781a7be4bcb536cfa5dd69813f;p=thirdparty%2Fsystemd.git core/cgroup: fix indentation Addresses https://github.com/systemd/systemd/pull/38906#discussion_r2363292495. --- diff --git a/src/core/cgroup.c b/src/core/cgroup.c index f6b0c5deea2..ce9056ddafd 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -3033,22 +3033,22 @@ int unit_check_oom(Unit *u) { if (ctx->memory_oom_group) { r = cg_get_keyed_attribute( - "memory", - crt->cgroup_path, - "memory.events.local", - STRV_MAKE("oom_group_kill"), - &oom_kill); + "memory", + crt->cgroup_path, + "memory.events.local", + STRV_MAKE("oom_group_kill"), + &oom_kill); if (r < 0 && !IN_SET(r, -ENOENT, -ENXIO)) return log_unit_debug_errno(u, r, "Failed to read oom_group_kill field of memory.events.local cgroup attribute, ignoring: %m"); } if (isempty(oom_kill)) { r = cg_get_keyed_attribute( - "memory", - crt->cgroup_path, - "memory.events", - STRV_MAKE("oom_kill"), - &oom_kill); + "memory", + crt->cgroup_path, + "memory.events", + STRV_MAKE("oom_kill"), + &oom_kill); if (r < 0 && !IN_SET(r, -ENOENT, -ENXIO)) return log_unit_debug_errno(u, r, "Failed to read oom_kill field of memory.events cgroup attribute: %m"); }