storage_conf: Fix the wrong error message

It's for parsing "login" attribute of "auth".
This commit is contained in:
Osier Yang 2013-05-22 20:05:11 +08:00
parent 711ca22a20
commit 49598fab61

View File

@ -447,7 +447,7 @@ virStoragePoolDefParseAuthChap(xmlXPathContextPtr ctxt,
auth->login = virXPathString("string(./auth/@login)", ctxt);
if (auth->login == NULL) {
virReportError(VIR_ERR_XML_ERROR,
"%s", _("missing auth host attribute"));
"%s", _("missing auth login attribute"));
return -1;
}