]> xenbits.xensource.com Git - libvirt.git/commitdiff
storage_conf: Fix the wrong error message
authorOsier Yang <jyang@redhat.com>
Wed, 22 May 2013 12:05:11 +0000 (20:05 +0800)
committerOsier Yang <jyang@redhat.com>
Fri, 24 May 2013 14:33:07 +0000 (22:33 +0800)
It's for parsing "login" attribute of "auth".

src/conf/storage_conf.c

index c3810233db00954b5fa0c98b3af2c930b34f4031..357f8f92cd1efded5a30871179004541b261641e 100644 (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;
     }