Print the correct value when freelist is out of range.
Security: : Sponsored by: DARPA, AFRL
This commit is contained in:
parent
2c7292e5b4
commit
5be9377857
@ -632,7 +632,7 @@ vm_phys_alloc_freelist_pages(int domain, int freelist, int pool, int order)
|
||||
domain));
|
||||
KASSERT(freelist < VM_NFREELIST,
|
||||
("vm_phys_alloc_freelist_pages: freelist %d is out of range",
|
||||
flind));
|
||||
freelist));
|
||||
KASSERT(pool < VM_NFREEPOOL,
|
||||
("vm_phys_alloc_freelist_pages: pool %d is out of range", pool));
|
||||
KASSERT(order < VM_NFREEORDER,
|
||||
|
Loading…
Reference in New Issue
Block a user