mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 19:45:21 +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;
|
||||
}
|
||||
|
||||
if (virCgroupGetCpuacctPercpuUsage(group, &buf) < 0)
|
||||
if (virCgroupGetCpuacctPercpuUsage(group_vcpu, &buf) < 0)
|
||||
goto cleanup;
|
||||
|
||||
pos = buf;
|
||||
|
Loading…
Reference in New Issue
Block a user