From: Guannan Ren Date: Fri, 31 Aug 2012 08:40:10 +0000 (+0800) Subject: cgroup: fix a typo on extracting data from vcpu cgroup X-Git-Tag: v0.10.1~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=657fef1401cce0227263e05488b0769765467b73;p=thirdparty%2Flibvirt.git cgroup: fix a typo on extracting data from vcpu cgroup --- diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 5670ca0782..5081b524fa 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -13460,7 +13460,7 @@ getSumVcpuPercpuStats(virCgroupPtr group, goto cleanup; } - if (virCgroupGetCpuacctPercpuUsage(group, &buf) < 0) + if (virCgroupGetCpuacctPercpuUsage(group_vcpu, &buf) < 0) goto cleanup; pos = buf;