summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2016-09-07 15:30:46 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2016-09-07 15:30:46 +0000
commit0b1bfafa156e6bfbd4d4467c2ccdee7ca3d4e009 (patch)
tree8d3f1cc12a19aa2ae9becc825896941ddbe66fac /sys/arch
parenta03899140d5db478cce98a05f0d6a5f99a7d60a3 (diff)
fix a wrong printf in a dump/debug function
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/amd64/vmm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/vmm.c b/sys/arch/amd64/amd64/vmm.c
index b6cceb21515..dbad3652b0e 100644
--- a/sys/arch/amd64/amd64/vmm.c
+++ b/sys/arch/amd64/amd64/vmm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmm.c,v 1.78 2016/09/05 07:50:04 mlarkin Exp $ */
+/* $OpenBSD: vmm.c,v 1.79 2016/09/07 15:30:45 mlarkin Exp $ */
/*
* Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org>
*
@@ -4215,7 +4215,7 @@ dump_vcpu(struct vcpu *vcpu)
printf(" entry ctls: 0x%llx\n",
vcpu->vc_vmx_entry_ctls);
printf(" true entry ctls: 0x%llx\n",
- vcpu->vc_vmx_true_procbased_ctls);
+ vcpu->vc_vmx_true_entry_ctls);
CTRL_DUMP(vcpu, ENTRY, LOAD_DEBUG_CONTROLS);
CTRL_DUMP(vcpu, ENTRY, IA32E_MODE_GUEST);
CTRL_DUMP(vcpu, ENTRY, ENTRY_TO_SMM);