From: Osier Yang Date: Wed, 22 May 2013 12:05:11 +0000 (+0800) Subject: storage_conf: Fix the wrong error message X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=49598fab61de93ec2c2f238f23b9b65b98f4229d;p=libvirt.git storage_conf: Fix the wrong error message It's for parsing "login" attribute of "auth". --- diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c index c3810233db..357f8f92cd 100644 --- a/src/conf/storage_conf.c +++ b/src/conf/storage_conf.c @@ -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; }