summaryrefslogtreecommitdiff
path: root/src/test/test-cgroup-setup.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-12-03 11:12:59 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-12-03 12:16:02 +0100
commit91b79ba84ef8fdd008b61581c32a7aa746a2b492 (patch)
tree42e413b12dfea6c72314761278317508a81889d3 /src/test/test-cgroup-setup.c
parent6c822dc2d5a5088aa1603bbbf04a87f2276b1b51 (diff)
downloadsystemd-91b79ba84ef8fdd008b61581c32a7aa746a2b492.tar.gz
shared/build: make the version string definition less terrible
The BLKID and ELFUTILS strings were present twice. Let's reaarange things so that each times requires definition in exactly one place. Also let's sort things a bit: the "heavy hitters" like PAM/MAC first, then crypto libs, then other libs, alphabetically, compressors, and external compat integrations. I think it's useful for users to group similar concepts together to some extent. For example, when checking what compression is available, it helps a lot to have them listed together. FDISK is renamed to LIBFDISK to make it clear that this is about he library and the executable.
Diffstat (limited to 'src/test/test-cgroup-setup.c')
-rw-r--r--src/test/test-cgroup-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-cgroup-setup.c b/src/test/test-cgroup-setup.c
index 72726ca595..4978a92e46 100644
--- a/src/test/test-cgroup-setup.c
+++ b/src/test/test-cgroup-setup.c
@@ -18,7 +18,7 @@ static void test_is_wanted_print(bool header) {
assert_se(proc_cmdline(&cmdline) >= 0);
log_info("cmdline: %s", cmdline);
if (header) {
- log_info(_CGROUP_HIERARCHY_);
+ log_info("default-hierarchy=" DEFAULT_HIERARCHY_NAME);
(void) system("findmnt -n /sys/fs/cgroup");
}