From: Marc-André Lureau Date: Tue, 14 Feb 2017 21:04:09 +0000 (+0400) Subject: nodedev: fix extra space in dump X-Git-Tag: CVE-2017-2635~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f6443530723919e1acfb6460a21e52ff17b456b;p=thirdparty%2Flibvirt.git nodedev: fix extra space in dump This is a cosmetic change, shouldn't change XML parsing, and doesn't break any test. Signed-off-by: Marc-André Lureau --- diff --git a/src/conf/node_device_conf.c b/src/conf/node_device_conf.c index f6d7692a3c..f37a48c404 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, "\n"); + virBufferAddLit(&buf, "\n"); break; case VIR_NODE_DEV_CAP_SCSI_GENERIC: virBufferEscapeString(&buf, "%s\n",