From 256fff39e4ba317489e369c379d556066e7f94df Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Fri, 30 Oct 2015 18:18:10 +0100 Subject: [PATCH] qemu: Fix style in qemuProcessStart Signed-off-by: Jiri Denemark --- src/qemu/qemu_process.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c index 69a0f979f5..4545f77ddd 100644 --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -4279,7 +4279,7 @@ int qemuProcessStart(virConnectPtr conn, */ VIR_DEBUG("Preparing network devices"); if (qemuNetworkPrepareDevices(vm->def) < 0) - goto error; + goto error; /* Must be run before security labelling */ VIR_DEBUG("Preparing host devices"); @@ -4636,9 +4636,8 @@ int qemuProcessStart(virConnectPtr conn, VIR_DEBUG("Setting up security labelling"); if (virSecurityManagerSetChildProcessLabel(driver->securityManager, - vm->def, cmd) < 0) { + vm->def, cmd) < 0) goto error; - } virCommandSetOutputFD(cmd, &logfile); virCommandSetErrorFD(cmd, &logfile);