summaryrefslogtreecommitdiffstats
path: root/src/test/test-bpf-firewall.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-11-08 16:57:25 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-11-11 14:55:57 +0100
commit64ad9e088d1c93a62d67ff571ced2ad30955626c (patch)
tree67f0158d16c9d00e2e513512376ac8fbdc48a2cc /src/test/test-bpf-firewall.c
parenttests: get rid of test-helper.[ch] completely (diff)
downloadsystemd-64ad9e088d1c93a62d67ff571ced2ad30955626c.tar.xz
systemd-64ad9e088d1c93a62d67ff571ced2ad30955626c.zip
tests: modify enter_cgroup_subroot() to return the new path
Diffstat (limited to 'src/test/test-bpf-firewall.c')
-rw-r--r--src/test/test-bpf-firewall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-bpf-firewall.c b/src/test/test-bpf-firewall.c
index 13f81d48d0..31e0c0b916 100644
--- a/src/test/test-bpf-firewall.c
+++ b/src/test/test-bpf-firewall.c
@@ -44,7 +44,7 @@ int main(int argc, char *argv[]) {
if (!can_memlock())
return log_tests_skipped("Can't use mlock(), skipping.");
- r = enter_cgroup_subroot();
+ r = enter_cgroup_subroot(NULL);
if (r == -ENOMEDIUM)
return log_tests_skipped("cgroupfs not available");