diff options
author | Cole Robinson <crobinso@redhat.com> | 2009-10-08 18:05:36 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2009-10-13 10:56:43 -0400 |
commit | 826cbac4591fd5929b497299a90d3a65226b2825 (patch) | |
tree | 2380b1c8bfe5e24a56ce5769185d889ab002ca10 | |
parent | schema: Update storage pool schema. (diff) | |
download | libvirt-826cbac4591fd5929b497299a90d3a65226b2825.tar.gz libvirt-826cbac4591fd5929b497299a90d3a65226b2825.tar.bz2 libvirt-826cbac4591fd5929b497299a90d3a65226b2825.zip |
storage: Fix generating iscsi 'auth' xml
We were missing a closing tag, so the XML wasn't proper.
-rw-r--r-- | src/conf/storage_conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c index 788de15fe..1633aac24 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," <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"); |