diff options
Diffstat (limited to 'defpager')
-rw-r--r-- | defpager/ChangeLog | 5 | ||||
-rw-r--r-- | defpager/defpager.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/defpager/ChangeLog b/defpager/ChangeLog index 75f34716..8ccfd133 100644 --- a/defpager/ChangeLog +++ b/defpager/ChangeLog @@ -1,3 +1,8 @@ +1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> + + * defpager.c (pager_read_page): Use munmap instead of + vm_deallocate. + Tue Apr 11 11:19:04 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> * Makefile: New file. diff --git a/defpager/defpager.c b/defpager/defpager.c index 87ff6aba..3a824cf1 100644 --- a/defpager/defpager.c +++ b/defpager/defpager.c @@ -74,7 +74,7 @@ pager_read_page (struct user_pager_info *pager, (void **)buf, &nread); if (nread != vm_page_size) { - vm_deallocate (mach_task_self (), *buf, nread); + munmap ((caddr_t) *buf, nread); return EIO; } } |