From 8d33dca2ff77c7f58a15badb53a5bb313d9b79d4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 15 Nov 2018 20:09:03 +0100 Subject: [PATCH] core: fix capitalization of CPUShares= settings --- src/core/cgroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.47.3