mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 06:50:22 +03: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:
parent
00b1cce0c0
commit
5dfcd6fbc6
@ -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"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user