aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2023-11-11 17:14:49 +0000
committerMark Johnston <markj@FreeBSD.org>2023-11-11 17:15:30 +0000
commit4e288572b85815bcefb929fcc4f20c01a459e9db (patch)
tree611cc448a2a1a5d804668409eaa340b2c6830bfc
parentdcc4d2939f789a6d1f272ffeab2068ba2b7525ea (diff)
downloadsrc-4e288572b85815bcefb929fcc4f20c01a459e9db.tar.gz
src-4e288572b85815bcefb929fcc4f20c01a459e9db.zip
bhyve: Fix the GDB_LOG build
MFC after: 1 week Fixes: 7d9ef309bd09 ("libvmmapi: Add a struct vcpu and use it in most APIs.")
-rw-r--r--usr.sbin/bhyve/gdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bhyve/gdb.c b/usr.sbin/bhyve/gdb.c
index 55178677f837..a6c0700308e7 100644
--- a/usr.sbin/bhyve/gdb.c
+++ b/usr.sbin/bhyve/gdb.c
@@ -764,7 +764,7 @@ gdb_cpu_add(struct vcpu *vcpu)
CPU_SET(vcpuid, &vcpus_active);
if (!TAILQ_EMPTY(&breakpoints)) {
vm_set_capability(vcpu, VM_CAP_BPT_EXIT, 1);
- debug("$vCPU %d enabled breakpoint exits\n", vcpu);
+ debug("$vCPU %d enabled breakpoint exits\n", vcpuid);
}
/*