mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 18:45:16 +00:00
cgroup: fix a typo on extracting data from vcpu cgroup
This commit is contained in:
parent
c402eebc71
commit
657fef1401
@ -13460,7 +13460,7 @@ getSumVcpuPercpuStats(virCgroupPtr group,
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (virCgroupGetCpuacctPercpuUsage(group, &buf) < 0)
|
if (virCgroupGetCpuacctPercpuUsage(group_vcpu, &buf) < 0)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
pos = buf;
|
pos = buf;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user