]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: fix capitalization of CPUShares= settings
authorLennart Poettering <lennart@poettering.net>
Thu, 15 Nov 2018 19:09:03 +0000 (20:09 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 16 Nov 2018 13:46:49 +0000 (14:46 +0100)
src/core/cgroup.c

index e62e05f0ff735ddf19691a456b9c39b50182ced0..baa356b32b84f02b16676ba9e493416b9ea4bc21 100644 (file)
@@ -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);