summaryrefslogtreecommitdiff
path: root/usr.sbin/vmd/vm.c
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2017-11-28 23:58:31 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2017-11-28 23:58:31 +0000
commitfc3458fa129dc32d48886a7de04058ed3fb498b9 (patch)
tree22e300d781085625646a2f83ad73293959691e96 /usr.sbin/vmd/vm.c
parentcbeac16af637d1948b6d08b30f89c282b802e52a (diff)
fix some spelling errors in a few comments
Diffstat (limited to 'usr.sbin/vmd/vm.c')
-rw-r--r--usr.sbin/vmd/vm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/vmd/vm.c b/usr.sbin/vmd/vm.c
index 0a3bf541220..51532f3e20d 100644
--- a/usr.sbin/vmd/vm.c
+++ b/usr.sbin/vmd/vm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm.c,v 1.28 2017/09/19 06:22:30 mlarkin Exp $ */
+/* $OpenBSD: vm.c,v 1.29 2017/11/28 23:58:30 mlarkin Exp $ */
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
@@ -1091,14 +1091,14 @@ run_vm(int *child_disks, int *child_taps, struct vmop_create_params *vmc,
if (vrp[i] == NULL) {
log_warn("%s: memory allocation error - "
"exiting.", __progname);
- /* caller will exit, so skip free'ing */
+ /* caller will exit, so skip freeing */
return (ENOMEM);
}
vrp[i]->vrp_exit = malloc(sizeof(union vm_exit));
if (vrp[i]->vrp_exit == NULL) {
log_warn("%s: memory allocation error - "
"exiting.", __progname);
- /* caller will exit, so skip free'ing */
+ /* caller will exit, so skip freeing */
return (ENOMEM);
}
vrp[i]->vrp_vm_id = vcp->vcp_id;
@@ -1110,7 +1110,7 @@ run_vm(int *child_disks, int *child_taps, struct vmop_create_params *vmc,
return (EIO);
}
- /* once more becuase reset_cpu changes regs */
+ /* once more because reset_cpu changes regs */
if (current_vm->vm_received) {
vregsp.vrwp_vm_id = vcp->vcp_id;
vregsp.vrwp_vcpu_id = i;