mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
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.
This commit is contained in:
1 parent
00b1cce0c0
commit
5dfcd6fbc6
1 file changed
+2
-1
@@ -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"));
|
||||
|
||||
Reference in new issue
Block a user