summaryrefslogtreecommitdiff
path: root/sys/vm/vm_fault.c
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2010-12-28 20:02:30 +0000
committerAlan Cox <alc@FreeBSD.org>2010-12-28 20:02:30 +0000
commita5dbab5444b025b10551040ad3878db19bf04710 (patch)
treee9434fc88dab650ad688475174474b919ffe367d /sys/vm/vm_fault.c
parent581499c3bfe7d34ff648e2507a5811e472218ffb (diff)
downloadsrc-test2-a5dbab5444b025b10551040ad3878db19bf04710.tar.gz
src-test2-a5dbab5444b025b10551040ad3878db19bf04710.zip
Notes
Diffstat (limited to 'sys/vm/vm_fault.c')
-rw-r--r--sys/vm/vm_fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c
index 41633fcd7d65..fefc2e763ef3 100644
--- a/sys/vm/vm_fault.c
+++ b/sys/vm/vm_fault.c
@@ -1084,7 +1084,7 @@ vm_fault_quick_hold_pages(vm_map_t map, vm_offset_t addr, vm_size_t len,
if (*mp == NULL)
pmap_failed = TRUE;
else if ((prot & VM_PROT_WRITE) != 0 &&
- (*ma)->dirty != VM_PAGE_BITS_ALL) {
+ (*mp)->dirty != VM_PAGE_BITS_ALL) {
/*
* Explicitly dirty the physical page. Otherwise, the
* caller's changes may go unnoticed because they are