From: Andrea Bolognani Date: Wed, 13 Jul 2016 15:50:44 +0000 (+0200) Subject: qemu: command: Fix awkward formatting X-Git-Tag: v2.1.0-rc1~155 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=968ae60b55f6df6e9f072d04981d5953dd0699b6;p=thirdparty%2Flibvirt.git qemu: command: Fix awkward formatting --- diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 2ca6d262ce..fe4bb88f9f 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -5158,9 +5158,7 @@ qemuBuildVirtioSerialPortDevStr(const virDomainDef *def, dev->info.type != VIR_DOMAIN_DEVICE_ADDRESS_TYPE_CCW && dev->info.type != VIR_DOMAIN_DEVICE_ADDRESS_TYPE_VIRTIO_S390) { /* Check it's a virtio-serial address */ - if (dev->info.type != - VIR_DOMAIN_DEVICE_ADDRESS_TYPE_VIRTIO_SERIAL) - { + if (dev->info.type != VIR_DOMAIN_DEVICE_ADDRESS_TYPE_VIRTIO_SERIAL) { virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("virtio serial device has invalid address type")); goto error;