From: Wolfgang Bumiller Date: Sun, 5 Apr 2020 14:12:45 +0000 (+0200) Subject: get the right path in get_cgroup command X-Git-Tag: lxc-5.0.0~466^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3357%2Fhead;p=thirdparty%2Flxc.git get the right path in get_cgroup command Signed-off-by: Wolfgang Bumiller --- diff --git a/src/lxc/commands.c b/src/lxc/commands.c index 5ac3f5d9c..6309f68e0 100644 --- a/src/lxc/commands.c +++ b/src/lxc/commands.c @@ -579,8 +579,8 @@ static int lxc_cmd_get_cgroup_callback_do(int fd, struct lxc_cmd_req *req, reqdata = NULL; } - get_fn = (limiting_cgroup ? cgroup_ops->get_cgroup - : cgroup_ops->get_limiting_cgroup); + get_fn = (limiting_cgroup ? cgroup_ops->get_limiting_cgroup + : cgroup_ops->get_cgroup); path = get_fn(cgroup_ops, reqdata);