diff options
author | Chris Down <chris@chrisdown.name> | 2019-01-02 20:15:15 +0000 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-01-03 11:32:40 +0900 |
commit | 4e1dfa45e9d09faef09f3e492db9373e6502b3b8 (patch) | |
tree | 5a9bd7f6a849ef21842c7777fdf3a493bf3b10b7 /src/cgtop | |
parent | 788291d3b498c265db80357506b8eec4732a037b (diff) | |
download | systemd-4e1dfa45e9d09faef09f3e492db9373e6502b3b8.tar.gz |
cgroup: s/cgroups? ?v?([0-9])/cgroup v\1/gI
Nitpicky, but we've used a lot of random spacings and names in the past,
but we're trying to be completely consistent on "cgroup vN" now.
Generated by `fd -0 | xargs -0 -n1 sed -ri --follow-symlinks 's/cgroups? ?v?([0-9])/cgroup v\1/gI'`.
I manually ignored places where it's not appropriate to replace (eg.
"cgroup2" fstype and in src/shared/linux).
Diffstat (limited to 'src/cgtop')
-rw-r--r-- | src/cgtop/cgtop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c index 5abfab03de..11cc5fa2e9 100644 --- a/src/cgtop/cgtop.c +++ b/src/cgtop/cgtop.c @@ -104,7 +104,7 @@ static const char *maybe_format_bytes(char *buf, size_t l, bool is_valid, uint64 static bool is_root_cgroup(const char *path) { - /* Returns true if the specified path belongs to the root cgroup. The root cgroup is special on cgroupsv2 as it + /* Returns true if the specified path belongs to the root cgroup. The root cgroup is special on cgroup v2 as it * carries only very few attributes in order not to export multiple truth about system state as most * information is available elsewhere in /proc anyway. We need to be able to deal with that, and need to get * our data from different sources in that case. |