mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 03:21:44 +03:00
conf:Fix a copy paste error
Signed-off-by: Alex Jia <ajia@redhat.com>
This commit is contained in:
parent
e3b21cdc31
commit
04b31e812f
@ -5153,7 +5153,7 @@ virDomainDiskDefParseXML(virDomainXMLOptionPtr xmlopt,
|
||||
xmlStrEqual(cur->name, BAD_CAST "product")) {
|
||||
product = (char *)xmlNodeGetContent(cur);
|
||||
|
||||
if (strlen(vendor) > PRODUCT_LEN) {
|
||||
if (strlen(product) > PRODUCT_LEN) {
|
||||
virReportError(VIR_ERR_XML_ERROR, "%s",
|
||||
_("disk product is more than 16 characters"));
|
||||
goto error;
|
||||
|
Loading…
Reference in New Issue
Block a user