summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpager/pager-create.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libpager/pager-create.c b/libpager/pager-create.c
index d9d8a2d4..27882db8 100644
--- a/libpager/pager-create.c
+++ b/libpager/pager-create.c
@@ -1,5 +1,5 @@
/* Pager creation
- Copyright (C) 1994 Free Software Foundation
+ Copyright (C) 1994, 1995 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
@@ -20,12 +20,13 @@
/* Create and return a new pager with user info UPI. */
struct pager *
pager_create (struct user_pager_info *upi,
+ struct port_bucket *bucket,
boolean_t may_cache,
memory_object_copy_strategy_t copy_strategy)
{
struct pager *p;
- p = ports_allocate_port (sizeof (struct pager), pager_port_type);
+ p = ports_allocate_port (bucket, sizeof (struct pager), _pager_class);
p->upi = upi;
p->pager_state = NOTINIT;