aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vm/vm_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm_user.c b/vm/vm_user.c
index f42c84bf..08cc17a4 100644
--- a/vm/vm_user.c
+++ b/vm/vm_user.c
@@ -696,7 +696,7 @@ kern_return_t vm_allocate_contiguous(
*result_paddr = pages->phys_addr;
assert(*result_paddr >= pmin);
- assert(*result_paddr + size < pmax);
+ assert(*result_paddr + size <= pmax);
return KERN_SUCCESS;
}