cgroup: fix a typo on extracting data from vcpu cgroup

This commit is contained in:
Guannan Ren 2012-08-31 16:40:10 +08:00
parent c402eebc71
commit 657fef1401
1 changed files with 1 additions and 1 deletions

View File

@ -13460,7 +13460,7 @@ getSumVcpuPercpuStats(virCgroupPtr group,
goto cleanup;
}
if (virCgroupGetCpuacctPercpuUsage(group, &buf) < 0)
if (virCgroupGetCpuacctPercpuUsage(group_vcpu, &buf) < 0)
goto cleanup;
pos = buf;