From: Eric Blake Date: Tue, 3 Jan 2012 03:43:07 +0000 (-0700) Subject: qemu: fix block stat naming X-Git-Tag: v0.9.9-rc2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=851fc8139fc69d2b963a3bda49dbf14b9144b7a5;p=thirdparty%2Flibvirt.git qemu: fix block stat naming Typo has existed since API introduction in commit ee0d8c3. * src/qemu/qemu_driver.c (qemuDomainBlockStatsFlags): Use correct name. --- diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index ad592d626e..82bab672a9 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -7763,10 +7763,10 @@ qemuDomainBlockStatsFlags(virDomainPtr dom, if (tmp < *nparams && flush_total_times != -1) { param = ¶ms[tmp]; if (virStrcpyStatic(param->field, - VIR_DOMAIN_BLOCK_STATS_READ_TOTAL_TIMES) == NULL) { + VIR_DOMAIN_BLOCK_STATS_FLUSH_TOTAL_TIMES) == NULL) { qemuReportError(VIR_ERR_INTERNAL_ERROR, _("Field name '%s' too long"), - VIR_DOMAIN_BLOCK_STATS_READ_TOTAL_TIMES); + VIR_DOMAIN_BLOCK_STATS_FLUSH_TOTAL_TIMES); goto endjob; } param->type = VIR_TYPED_PARAM_LLONG;