summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-09 19:33:16 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-09 19:33:16 +0000
commitb36b95ac3d12e1e61de9fd63ccbac6f57685188c (patch)
tree559bbcbc968ce97249ebe415a11a72de43d3830c
parentbb7e7778207236bd2a0fd906656ef18ef4dc7377 (diff)
(diskfs_start_protid): Use new args for ports_allocate_port.
-rw-r--r--libdiskfs/protid-make.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libdiskfs/protid-make.c b/libdiskfs/protid-make.c
index 38a615ae..a4d9801d 100644
--- a/libdiskfs/protid-make.c
+++ b/libdiskfs/protid-make.c
@@ -1,5 +1,5 @@
/*
- 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
@@ -25,7 +25,8 @@ diskfs_start_protid (struct peropen *po)
{
struct protid *cred;
- cred = ports_allocate_port (sizeof (struct protid), PT_PROTID);
+ cred = ports_allocate_port (diskfs_port_bucket, sizeof (struct protid),
+ diskfs_protid_class);
po->refcnt++;
cred->po = po;
cred->shared_object = MACH_PORT_NULL;