[libvirt] [PATCH 16/21] conf: storage: use virXMLNamespaceFormatNS
Jiri Denemark
jdenemar at redhat.com
Wed Aug 21 07:13:36 UTC 2019
On Wed, Aug 21, 2019 at 01:15:38 +0200, Ján Tomko wrote:
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---
> src/conf/storage_conf.c | 2 +-
> src/storage/storage_backend_fs.c | 2 +-
> src/storage/storage_backend_rbd.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c
> index fb8a16a119..6588d5c8ef 100644
> --- a/src/conf/storage_conf.c
> +++ b/src/conf/storage_conf.c
> @@ -1172,7 +1172,7 @@ virStoragePoolDefFormatBuf(virBufferPtr buf,
> }
> virBufferAsprintf(buf, "<pool type='%s'", type);
> if (def->namespaceData && def->ns.href)
def->ns.format?
> - virBufferAsprintf(buf, " %s", (def->ns.href)());
> + virXMLNamespaceFormatNS(buf, &def->ns);
> virBufferAddLit(buf, ">\n");
> virBufferAdjustIndent(buf, 2);
> virBufferEscapeString(buf, "<name>%s</name>\n", def->name);
Reviewed-by: Jiri Denemark <jdenemar at redhat.com>
More information about the libvir-list
mailing list