diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-06-15 22:35:00 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-06-15 22:35:00 +0000 |
commit | c672651696c28497f587706749297f9ab98a908c (patch) | |
tree | a0faca2ab0b955731bdb4c78d3df63c6f485845e /libtrivfs/handle-port.c | |
parent | 7ab744cbeb123d79ec16dc6c66ba3b7666067b68 (diff) |
Formerly handle-port.c.~3~
Diffstat (limited to 'libtrivfs/handle-port.c')
-rw-r--r-- | libtrivfs/handle-port.c | 8 |
1 files changed, 5 insertions, 3 deletions
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 <priv.h> 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); } |