summaryrefslogtreecommitdiff
path: root/vm/vm_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm/vm_debug.c')
-rw-r--r--vm/vm_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm/vm_debug.c b/vm/vm_debug.c
index 47889ad0..43221cff 100644
--- a/vm/vm_debug.c
+++ b/vm/vm_debug.c
@@ -156,8 +156,8 @@ mach_vm_region_info(
regionp->vri_protection = entry->protection;
regionp->vri_max_protection = entry->max_protection;
regionp->vri_inheritance = entry->inheritance;
- regionp->vri_wired_count = entry->wired_count;
- regionp->vri_user_wired_count = entry->user_wired_count;
+ regionp->vri_wired_count = !!entry->wired_count; /* Doesn't stack */
+ regionp->vri_user_wired_count = regionp->vri_wired_count; /* Obsolete */
object = entry->object.vm_object;
*portp = vm_object_real_name(object);