Print the correct value when freelist is out of range.

Security:	:
Sponsored by:	DARPA, AFRL
This commit is contained in:
Andrew Turner 2017-12-04 11:16:51 +00:00
parent 2c7292e5b4
commit 5be9377857
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326524

View File

@ -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,