From 3d5ea3e4ca000383cb61eb21d408fc239f2e2247 Mon Sep 17 00:00:00 2001 From: Maksym Planeta Date: Wed, 8 Feb 2012 14:23:49 +0200 Subject: Correct function calling. * mach-defpager/default_pager.c (S_default_pager_object_set_size, seqnos_memory_object_lock_completed): Correct calling of function pager_port_unlock. --- mach-defpager/default_pager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mach-defpager') diff --git a/mach-defpager/default_pager.c b/mach-defpager/default_pager.c index ca53ac6c..7b43421b 100644 --- a/mach-defpager/default_pager.c +++ b/mach-defpager/default_pager.c @@ -2915,7 +2915,7 @@ seqnos_memory_object_lock_completed (memory_object_t pager, /* Deallocate the old backing store pages and shrink the page map. */ pager_truncate (&ds->dpager, ds->dpager.limit / vm_page_size); - pager_port_unlock(ds, seqno); + pager_port_unlock(ds); return KERN_SUCCESS; } @@ -3758,7 +3758,7 @@ S_default_pager_object_set_size (mach_port_t pager, /* There is already another call in progress. Tough titties. */ kr = KERN_FAILURE; - pager_port_unlock(ds, seqno); + pager_port_unlock(ds); return kr; } -- cgit v1.2.3