From c672651696c28497f587706749297f9ab98a908c Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 15 Jun 1994 22:35:00 +0000 Subject: Formerly handle-port.c.~3~ --- libtrivfs/handle-port.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'libtrivfs/handle-port.c') diff --git a/libtrivfs/handle-port.c b/libtrivfs/handle-port.c index 17952480..397e1523 100644 --- a/libtrivfs/handle-port.c +++ b/libtrivfs/handle-port.c @@ -18,12 +18,14 @@ #include mach_port_t -trivfs_handle_port (mach_port_t realnode) +trivfs_handle_port (mach_port_t realnode, + int cntltype, + int protidtype) { struct trivfs_control *cntl; - cntl = ports_allocate_port (sizeof (struct trivfs_control), - trivfs_cntl_porttype); + cntl = ports_allocate_port (sizeof (struct trivfs_control), cntltype); cntl->underlying = realnode; + cntl->protidtypes = protidtype return ports_get_right (cntl); } -- cgit v1.2.3