Reword the message and drop the numbers (which were reversed) from it
so that it actually makes sense.
Resolves:
https://bugzilla.redhat.com/show_bug.cgi?id=1509151
---
src/conf/domain_conf.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 77c20c697..64f8df1be 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -1505,9 +1505,9 @@ virDomainDefSetVcpus(virDomainDefPtr def,
size_t i;
if (vcpus > def->maxvcpus) {
- virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
- _("maxvcpus must not be less than current vcpus (%u <
%zu)"),
- vcpus, def->maxvcpus);
+ virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
+ _("maximum vCPU count must not be less than current "
+ "vCPU count"));
return -1;
}
--
2.14.3