From: Lennart Poettering Date: Thu, 15 Nov 2018 19:09:03 +0000 (+0100) Subject: core: fix capitalization of CPUShares= settings X-Git-Tag: v240~303^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8d33dca2ff77c7f58a15badb53a5bb313d9b79d4;p=thirdparty%2Fsystemd.git core: fix capitalization of CPUShares= settings --- diff --git a/src/core/cgroup.c b/src/core/cgroup.c index e62e05f0ff7..baa356b32b8 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -835,7 +835,7 @@ static void cgroup_context_apply( weight = cgroup_cpu_shares_to_weight(shares); - log_cgroup_compat(u, "Applying [Startup]CpuShares %" PRIu64 " as [Startup]CpuWeight %" PRIu64 " on %s", + log_cgroup_compat(u, "Applying [Startup]CPUShares %" PRIu64 " as [Startup]CPUWeight %" PRIu64 " on %s", shares, weight, path); } else weight = CGROUP_WEIGHT_DEFAULT; @@ -849,7 +849,7 @@ static void cgroup_context_apply( shares = cgroup_cpu_weight_to_shares(weight); - log_cgroup_compat(u, "Applying [Startup]CpuWeight %" PRIu64 " as [Startup]CpuShares %" PRIu64 " on %s", + log_cgroup_compat(u, "Applying [Startup]CPUWeight %" PRIu64 " as [Startup]CPUShares %" PRIu64 " on %s", weight, shares, path); } else if (has_shares) shares = cgroup_context_cpu_shares(c, state);