summaryrefslogtreecommitdiffstats
path: root/src/oom/oomd-manager.c
diff options
context:
space:
mode:
authorAnita Zhang <the.anitazha@gmail.com>2021-03-08 19:21:37 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-03-09 09:23:22 +0100
commit50c0578b619e7298375afdffec7a8b3a40a68c21 (patch)
tree9e0bf8d3876322422405090fe1a621e65e340482 /src/oom/oomd-manager.c
parentoomd: move TAKE_PTR to end of oomd_insert_cgroup_context() (diff)
downloadsystemd-50c0578b619e7298375afdffec7a8b3a40a68c21.tar.xz
systemd-50c0578b619e7298375afdffec7a8b3a40a68c21.zip
oomd: wrap paths in oomd_insert_cgroup_context with empty_to_root
Diffstat (limited to 'src/oom/oomd-manager.c')
-rw-r--r--src/oom/oomd-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oom/oomd-manager.c b/src/oom/oomd-manager.c
index fad1fb0d45..085fc6487f 100644
--- a/src/oom/oomd-manager.c
+++ b/src/oom/oomd-manager.c
@@ -112,7 +112,7 @@ static int process_managed_oom_reply(
continue;
}
- ret = oomd_insert_cgroup_context(NULL, monitor_hm, empty_to_root(reply.path));
+ ret = oomd_insert_cgroup_context(NULL, monitor_hm, reply.path);
if (ret == -ENOMEM) {
r = ret;
goto finish;