]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
vircgroup: Fix fallback implementation of 'virCgroupGetFreezerState'
authorPeter Krempa <pkrempa@redhat.com>
Mon, 4 May 2026 09:34:25 +0000 (11:34 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 4 May 2026 09:47:56 +0000 (11:47 +0200)
Fix the implementation according to the change to the declaration.

Fixes: 289e69d95e6fc843499d15003365596fbfe3500a
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
src/util/vircgroup.c

index e7c93cd0100bffcd68bb9939d765802cd32f0b41..00949bcca5c4a54981509109cc7da2d06323e035 100644 (file)
@@ -3737,7 +3737,7 @@ virCgroupSetFreezerState(virCgroup *group G_GNUC_UNUSED,
 
 int
 virCgroupGetFreezerState(virCgroup *group G_GNUC_UNUSED,
-                         virCgroupFreezerState **state G_GNUC_UNUSED)
+                         virCgroupFreezerState *state G_GNUC_UNUSED)
 {
     virReportSystemError(ENOSYS, "%s",
                          _("Control groups not supported on this platform"));