summaryrefslogtreecommitdiff
path: root/usr.sbin/vmd/vmm.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/vmd/vmm.c')
-rw-r--r--usr.sbin/vmd/vmm.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/vmd/vmm.c b/usr.sbin/vmd/vmm.c
index 00b0b1f1d7b..ccd7680b479 100644
--- a/usr.sbin/vmd/vmm.c
+++ b/usr.sbin/vmd/vmm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmm.c,v 1.75 2017/09/08 07:08:49 mlarkin Exp $ */
+/* $OpenBSD: vmm.c,v 1.76 2017/09/14 10:07:17 reyk Exp $ */
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
@@ -490,7 +490,7 @@ vmm_dispatch_vm(int fd, short event, void *arg)
case IMSG_VMDOP_SEND_VM_RESPONSE:
IMSG_SIZE_CHECK(&imsg, &vmr);
memcpy(&vmr, imsg.data, sizeof(vmr));
- if(!vmr.vmr_result) {
+ if (!vmr.vmr_result) {
log_debug("%s: calling vm_remove", __func__);
vm_remove(vm);
}
@@ -499,8 +499,7 @@ vmm_dispatch_vm(int fd, short event, void *arg)
for (i = 0; i < sizeof(procs); i++) {
if (procs[i].p_id == PROC_PARENT) {
proc_forward_imsg(procs[i].p_ps,
- &imsg, PROC_PARENT,
- -1);
+ &imsg, PROC_PARENT, -1);
break;
}
}