Update the text of a KASSERT() to reflect the changes in r269728.

This commit is contained in:
alc 2014-08-09 17:13:02 +00:00
parent 3bdfd7a933
commit 6ec80ed21e

View File

@ -4152,7 +4152,7 @@ pmap_enter(pmap_t pmap, vm_offset_t va, vm_page_t m, vm_prot_t prot,
if ((prot & VM_PROT_WRITE) != 0)
newpte |= PG_RW;
KASSERT((newpte & (PG_M | PG_RW)) != PG_M,
("pmap_enter: access includes VM_PROT_WRITE but prot doesn't"));
("pmap_enter: flags includes VM_PROT_WRITE but prot doesn't"));
if ((prot & VM_PROT_EXECUTE) == 0)
newpte |= pg_nx;
if ((flags & PMAP_ENTER_WIRED) != 0)