Fix output of XML for FS storage pool

This commit is contained in:
Daniel P. Berrange 2008-03-28 17:56:44 +00:00
parent b7909d3276
commit 924de9c3d1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Mar 27 13:55:56 EDT 2008 Daniel P. Berrange <berrange@redhat.com>
* src/storage_conf.c: Fix XML output tag for FS storage pools
directory path
Thu Mar 27 20:59:56 EDT 2008 Daniel P. Berrange <berrange@redhat.com>
* src/iptables.c: Ensure masquering rule only catches traffic

View File

@ -479,7 +479,7 @@ virStoragePoolDefFormat(virConnectPtr conn,
}
if ((options->flags & VIR_STORAGE_BACKEND_POOL_SOURCE_DIR) &&
def->source.dir &&
virBufferVSprintf(buf," <directory path='%s'/>\n", def->source.dir) < 0)
virBufferVSprintf(buf," <dir path='%s'/>\n", def->source.dir) < 0)
goto no_memory;
if ((options->flags & VIR_STORAGE_BACKEND_POOL_SOURCE_ADAPTER) &&
def->source.adapter &&