[libvirt PATCH] conf: fix error message for wrong thread_pool_size

Ján Tomko jtomko at redhat.com
Fri Jul 1 15:12:03 UTC 2022


Fix the copy-and-paste error by referring to the correct variable.

Fixes: 0df2e7df80452f81edbfeb0ee355235b533346a9
https://bugzilla.redhat.com/show_bug.cgi?id=2103132

Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
Pushed as trivial.

 src/conf/domain_conf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index fb8bf4cfec..2c2f23242e 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -9949,7 +9949,7 @@ virDomainFSDefParseXML(virDomainXMLOption *xmlopt,
             virStrToLong_i(thread_pool_size, NULL, 10, &def->thread_pool_size) < 0) {
             virReportError(VIR_ERR_XML_ERROR,
                            _("cannot parse thread pool size '%s' for virtiofs"),
-                           queue_size);
+                           thread_pool_size);
             goto error;
         }
 
-- 
2.35.3



More information about the libvir-list mailing list