提交 924de9c3 编写于 作者: D Daniel P. Berrange

Fix output of XML for FS storage pool

上级 b7909d32
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
......
......@@ -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 &&
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册