From: Ján Tomko Date: Wed, 9 Apr 2014 14:47:26 +0000 (+0200) Subject: Fix build on mingw32 X-Git-Tag: v1.2.4-rc1~121 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5dfcd6fbc691d7423780c1d9876d2b7987bdddd6;p=thirdparty%2Flibvirt.git Fix build on mingw32 My commit 897808e added a parameter to virCgroupGetPercpuStats, but didn't change the stub for systems where cgroups are not supported. --- diff --git a/src/util/vircgroup.c b/src/util/vircgroup.c index 74e0907bc0..c7ebf8d270 100644 --- a/src/util/vircgroup.c +++ b/src/util/vircgroup.c @@ -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"));