[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]