From: Luca Boccassi Date: Thu, 4 Jan 2024 11:42:23 +0000 (+0100) Subject: core: fix cgroup copy X-Git-Tag: v256-rc1~1285^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2717d36d9dee88cd99be3786908bb9d9784d819a;p=thirdparty%2Fsystemd.git core: fix cgroup copy Follow-up for 84c01612de805d88875d4d91cfcf73cf10f99447 CID#1533113 --- diff --git a/src/core/cgroup.c b/src/core/cgroup.c index bc1e601cf12..e8ba01037ab 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -353,7 +353,7 @@ int cgroup_context_copy(CGroupContext *dst, const CGroupContext *src) { dst->tasks_accounting = src->tasks_accounting; dst->ip_accounting = src->ip_accounting; - dst->memory_oom_group = dst->memory_oom_group; + dst->memory_oom_group = src->memory_oom_group; dst->cpu_weight = src->cpu_weight; dst->startup_cpu_weight = src->startup_cpu_weight;