1
0
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:
Alex Jia 2013-07-26 17:19:16 +08:00 committed by Martin Kletzander
parent e3b21cdc31
commit 04b31e812f

View File

@ -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;