mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00:00
qemu: fix block stat naming
Typo has existed since API introduction in commit ee0d8c3
.
* src/qemu/qemu_driver.c (qemuDomainBlockStatsFlags): Use correct
name.
This commit is contained in:
parent
269ce467fc
commit
851fc8139f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user