[libvirt] [PATCH 1/5] nodedev: fix extra space in dump

marcandre.lureau at redhat.com marcandre.lureau at redhat.com
Tue Feb 14 21:04:09 UTC 2017


From: Marc-André Lureau <marcandre.lureau at redhat.com>

This is a cosmetic change, shouldn't change XML parsing, and doesn't
break any test.

Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
---
 src/conf/node_device_conf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/conf/node_device_conf.c b/src/conf/node_device_conf.c
index 4d3268f12..6163fd5ed 100644
--- a/src/conf/node_device_conf.c
+++ b/src/conf/node_device_conf.c
@@ -678,7 +678,7 @@ char *virNodeDeviceDefFormat(const virNodeDeviceDef *def)
                                       data->storage.num_blocks);
             }
             if (data->storage.flags & VIR_NODE_DEV_CAP_STORAGE_HOTPLUGGABLE)
-                virBufferAddLit(&buf, "<capability type='hotpluggable' />\n");
+                virBufferAddLit(&buf, "<capability type='hotpluggable'/>\n");
             break;
         case VIR_NODE_DEV_CAP_SCSI_GENERIC:
             virBufferEscapeString(&buf, "<char>%s</char>\n",
-- 
2.11.0.295.gd7dffce1c.dirty




More information about the libvir-list mailing list