summaryrefslogtreecommitdiffstats
path: root/src/cgls
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-06-05 18:40:26 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-06-05 20:35:28 +0200
commit06390e22c92c626545ec4841c1dfdd25632efa08 (patch)
treec45042e0e9cd0e8202876a0357b8e3bb264121b0 /src/cgls
parentMerge pull request #27912 from mrc0mmand/cryptsetup-tests (diff)
downloadsystemd-06390e22c92c626545ec4841c1dfdd25632efa08.tar.xz
systemd-06390e22c92c626545ec4841c1dfdd25632efa08.zip
cgls/cgtop: spell field/column "CGroup" rather than "Control Group"
In the documentation we usually spell the concept "control group". Internally in code we usually call it "cgroup" or "CGroup". In systemctl output we called the field "CGroup" so far, i.e. a capitalized version of the internal name. This is of course very unsystematic. Let's clean this up a bit: let's now say: * in docs, continue to spell it out "control groups" * in brief output call it "CGroup" * internally call it "cgroup" or "CGroup" Fixes: #14429
Diffstat (limited to 'src/cgls')
-rw-r--r--src/cgls/cgls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgls/cgls.c b/src/cgls/cgls.c
index a34b0aa604..70fa260246 100644
--- a/src/cgls/cgls.c
+++ b/src/cgls/cgls.c
@@ -185,7 +185,7 @@ static void show_cg_info(const char *controller, const char *path) {
if (cg_all_unified() == 0 && controller && !streq(controller, SYSTEMD_CGROUP_CONTROLLER))
printf("Controller %s; ", controller);
- printf("Control group %s:\n", empty_to_root(path));
+ printf("CGroup %s:\n", empty_to_root(path));
fflush(stdout);
}