diff options
-rw-r--r-- | libpager/pager-sync.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libpager/pager-sync.c b/libpager/pager-sync.c index 0d8527b4..4f1ee620 100644 --- a/libpager/pager-sync.c +++ b/libpager/pager-sync.c @@ -1,5 +1,5 @@ /* Functions for sync. - Copyright (C) 1994 Free Software Foundation + Copyright (C) 1994, 1996 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -28,7 +28,7 @@ pager_sync (struct pager *p, int wait) pager_report_extent (p->upi, &offset, &len); - _pager_lock_object (p, offset, len, MEMORY_OBJECT_RETURN_DIRTY, 0, + _pager_lock_object (p, offset, len, MEMORY_OBJECT_RETURN_ALL, 0, VM_PROT_NO_CHANGE, wait); } @@ -39,7 +39,7 @@ void pager_sync_some (struct pager *p, vm_address_t offset, vm_size_t size, int wait) { - _pager_lock_object (p, offset, size, MEMORY_OBJECT_RETURN_DIRTY, 0, + _pager_lock_object (p, offset, size, MEMORY_OBJECT_RETURN_ALL, 0, VM_PROT_NO_CHANGE, wait); } |