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

View File

@ -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;