mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
storage_conf: Fix the wrong error message
It's for parsing "login" attribute of "auth".
This commit is contained in:
parent
711ca22a20
commit
49598fab61
@ -447,7 +447,7 @@ virStoragePoolDefParseAuthChap(xmlXPathContextPtr ctxt,
|
|||||||
auth->login = virXPathString("string(./auth/@login)", ctxt);
|
auth->login = virXPathString("string(./auth/@login)", ctxt);
|
||||||
if (auth->login == NULL) {
|
if (auth->login == NULL) {
|
||||||
virReportError(VIR_ERR_XML_ERROR,
|
virReportError(VIR_ERR_XML_ERROR,
|
||||||
"%s", _("missing auth host attribute"));
|
"%s", _("missing auth login attribute"));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user