storage: Fix generating iscsi 'auth' xml

We were missing a closing tag, so the XML wasn't proper.
This commit is contained in:
Cole Robinson 2009-10-08 18:05:36 -04:00
parent be2cd079af
commit 826cbac459

View File

@ -799,7 +799,7 @@ virStoragePoolSourceFormat(virConnectPtr conn,
if (src->authType == VIR_STORAGE_POOL_AUTH_CHAP)
virBufferVSprintf(buf," <auth type='chap' login='%s' passwd='%s'>\n",
virBufferVSprintf(buf," <auth type='chap' login='%s' passwd='%s'/>\n",
src->auth.chap.login,
src->auth.chap.passwd);
virBufferAddLit(buf," </source>\n");