]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
util: cgroup: Add missing parameter maxthreads to virCgroupNewMachine
authorErik Skultety <eskultet@redhat.com>
Thu, 25 Jul 2019 07:51:50 +0000 (09:51 +0200)
committerErik Skultety <eskultet@redhat.com>
Thu, 25 Jul 2019 08:44:13 +0000 (10:44 +0200)
Commit d5572f62e32 forgot to add maxthreads to the non-Linux definition
of the function, thus breaking the MinGW build.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
src/util/vircgroup.c

index 9daf62795e908e9ca676e803e271870a05d00d9e..2270a520d67a0d2ebc8dcead68cd994796d712d2 100644 (file)
@@ -2891,6 +2891,7 @@ virCgroupNewMachine(const char *name ATTRIBUTE_UNUSED,
                     int *nicindexes ATTRIBUTE_UNUSED,
                     const char *partition ATTRIBUTE_UNUSED,
                     int controllers ATTRIBUTE_UNUSED,
+                    unsigned int maxthreads ATTRIBUTE_UNUSED,
                     virCgroupPtr *group ATTRIBUTE_UNUSED)
 {
     virReportSystemError(ENXIO, "%s",