The branch main has been updated by alc:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=58d427172157dedf82e46014e7d19cf973186dd9

commit 58d427172157dedf82e46014e7d19cf973186dd9
Author:     Alan Cox <a...@freebsd.org>
AuthorDate: 2023-06-16 08:12:42 +0000
Commit:     Alan Cox <a...@freebsd.org>
CommitDate: 2023-06-16 08:12:42 +0000

    vm_phys: Fix typo in 9e8174289236
---
 sys/vm/vm_phys.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/vm/vm_phys.c b/sys/vm/vm_phys.c
index a0b53f0f7c4b..28f12231e01c 100644
--- a/sys/vm/vm_phys.c
+++ b/sys/vm/vm_phys.c
@@ -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)

Reply via email to