[libvirt] [PATCH] qemu: domain: Add missing newline to last element in status XML formatter

Peter Krempa posted 1 patch 115 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/0ca7f8b5f59095231b1d1af98af7f95102201758.1499442140.git.pkrempa@redhat.com
src/qemu/qemu_domain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

[libvirt] [PATCH] qemu: domain: Add missing newline to last element in status XML formatter

Posted by Peter Krempa 115 weeks ago
Commit f9758109a7 did not put a newline after the element it added.
---

Pushed as trivial.

 src/qemu/qemu_domain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
index 8e7404da6..9a8ae26ac 100644
--- a/src/qemu/qemu_domain.c
+++ b/src/qemu/qemu_domain.c
@@ -1886,7 +1886,7 @@ qemuDomainObjPrivateXMLFormat(virBufferPtr buf,
     virCPUDefFormatBufFull(buf, priv->origCPU, NULL, false);

     if (priv->chardevStdioLogd)
-        virBufferAddLit(buf, "<chardevStdioLogd/>");
+        virBufferAddLit(buf, "<chardevStdioLogd/>\n");

     return 0;
 }
-- 
2.12.2

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list