]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
cgroups: fix cg_legacy_freeze() return type
authorChristian Brauner <christian.brauner@ubuntu.com>
Sun, 21 Feb 2021 10:30:46 +0000 (11:30 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sun, 21 Feb 2021 13:33:43 +0000 (14:33 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c

index 71bee9de972e1f437810582e64f39fa7f17b58a3..71229054e80dac27abfdac05fe029ab9872961a4 100644 (file)
@@ -1890,7 +1890,7 @@ __cgfsng_ops static bool cgfsng_criu_get_hierarchies(struct cgroup_ops *ops,
        return true;
 }
 
-static bool cg_legacy_freeze(struct cgroup_ops *ops)
+static int cg_legacy_freeze(struct cgroup_ops *ops)
 {
        struct hierarchy *h;