diff options
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r-- | sys/kern/kern_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index 0241c4d..0dc89f3 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -771,7 +771,7 @@ exec_map_first_page(imgp) (ma[0]->valid == 0)) { if (ma[0]) { vm_page_lock_queues(); - vm_page_protect(ma[0], VM_PROT_NONE); + pmap_page_protect(ma[0], VM_PROT_NONE); vm_page_free(ma[0]); vm_page_unlock_queues(); } |