Skip to content

Commit

Permalink
vm_phys: Fix typo in 9e81742
Browse files Browse the repository at this point in the history
  • Loading branch information
alcriceedu committed Jun 16, 2023
1 parent 7e1ec25 commit 58d4271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/vm/vm_phys.c
Original file line number Diff line number Diff line change
Expand Up @@ -1246,7 +1246,7 @@ vm_phys_find_range(vm_page_t bounds[], int segind, int domain,
struct vm_phys_seg *end_seg, *seg;

KASSERT(npages > 0, ("npages is zero"));
KASSERT(domain >= 0 && domain < vm_ndomain, ("domain out of range"));
KASSERT(domain >= 0 && domain < vm_ndomains, ("domain out of range"));
end_seg = &vm_phys_segs[vm_phys_nsegs];
for (seg = &vm_phys_segs[segind]; seg < end_seg; seg++) {
if (seg->domain != domain)
Expand Down

0 comments on commit 58d4271

Please sign in to comment.