]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
nodedev: fix extra space in dump
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 14 Feb 2017 21:04:09 +0000 (01:04 +0400)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 17 Feb 2017 14:47:58 +0000 (15:47 +0100)
This is a cosmetic change, shouldn't change XML parsing, and doesn't
break any test.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
src/conf/node_device_conf.c

index f6d7692a3c73faed01c373dabbb2e32a5ef1a560..f37a48c40432de64d565738c8cd085aa3a783281 100644 (file)
@@ -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",