From: Cole Robinson Date: Thu, 8 Oct 2009 22:05:36 +0000 (-0400) Subject: storage: Fix generating iscsi 'auth' xml X-Git-Tag: v0.7.2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=826cbac4591fd5929b497299a90d3a65226b2825;p=thirdparty%2Flibvirt.git storage: Fix generating iscsi 'auth' xml We were missing a closing tag, so the XML wasn't proper. --- diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c index 788de15fee..1633aac240 100644 --- a/src/conf/storage_conf.c +++ b/src/conf/storage_conf.c @@ -799,7 +799,7 @@ virStoragePoolSourceFormat(virConnectPtr conn, if (src->authType == VIR_STORAGE_POOL_AUTH_CHAP) - virBufferVSprintf(buf," \n", + virBufferVSprintf(buf," \n", src->auth.chap.login, src->auth.chap.passwd); virBufferAddLit(buf," \n");