summaryrefslogtreecommitdiff
path: root/libpager
diff options
context:
space:
mode:
Diffstat (limited to 'libpager')
-rw-r--r--libpager/object-init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libpager/object-init.c b/libpager/object-init.c
index 7cea9721..a5d52d08 100644
--- a/libpager/object-init.c
+++ b/libpager/object-init.c
@@ -54,9 +54,11 @@ seqnos_memory_object_init (mach_port_t object,
memory_object_ready (control, 0, MEMORY_OBJECT_COPY_NONE);
p->pager_state = NORMAL;
+
+ _pager_release_seqno (p);
mutex_unlock (&p->interlock);
out:
- _pager_done_with_port (p);
+ done_with_port (p);
return 0;
}