]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix build on mingw32
authorJán Tomko <jtomko@redhat.com>
Wed, 9 Apr 2014 14:47:26 +0000 (16:47 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 9 Apr 2014 14:47:26 +0000 (16:47 +0200)
My commit 897808e added a parameter to virCgroupGetPercpuStats,
but didn't change the stub for systems where cgroups are not supported.

src/util/vircgroup.c

index 74e0907bc09334fbe740fa62d7df310427ffcf7e..c7ebf8d2706f8e87d2f2ba5fefd0e70023e2f3d7 100644 (file)
@@ -4469,7 +4469,8 @@ virCgroupGetPercpuStats(virCgroupPtr group ATTRIBUTE_UNUSED,
                         virTypedParameterPtr params ATTRIBUTE_UNUSED,
                         unsigned int nparams ATTRIBUTE_UNUSED,
                         int start_cpu ATTRIBUTE_UNUSED,
-                        unsigned int ncpus ATTRIBUTE_UNUSED)
+                        unsigned int ncpus ATTRIBUTE_UNUSED,
+                        unsigned int nvcpupids ATTRIBUTE_UNUSED)
 {
     virReportSystemError(ENOSYS, "%s",
                          _("Control groups not supported on this platform"));