Correct type size format error in KASSERT.

Reported by:	jenkins
Fixes:	6f1c890827 vm: Don't break vm reserv that can't meet align reqs

(cherry picked from commit f7aa44763d)
This commit is contained in:
Doug Moore 2021-12-16 13:48:58 -06:00
parent 3b8062cdd5
commit 42f18ad112

View file

@ -1391,8 +1391,8 @@ vm_reserv_reclaim_contig(int domain, u_long npages, vm_paddr_t low,
("%s: adjusted address does not align to %lx",
__func__, alignment));
KASSERT(((pa ^ (pa + size - 1)) & -boundary) == 0,
("%s: adjusted address spans boundary to %lx",
__func__, boundary));
("%s: adjusted address spans boundary to %jx",
__func__, (uintmax_t)boundary));
vm_reserv_domain_scan_unlock(domain);
vm_reserv_reclaim(rv);