summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-06-15 22:50:59 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-06-15 22:50:59 +0000
commitc3f9ba7b1a4286e09cd80a58b80b185e05dce532 (patch)
tree841e951b121d70bb30747d40aea336b743e3faba
parent7c3fd1d8b7a62cd2cbbb5551242841efa1ff9e7c (diff)
Formerly fsys-goaway.c.~5~
-rw-r--r--libtrivfs/fsys-goaway.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/libtrivfs/fsys-goaway.c b/libtrivfs/fsys-goaway.c
index efd0bc46..becb058e 100644
--- a/libtrivfs/fsys-goaway.c
+++ b/libtrivfs/fsys-goaway.c
@@ -23,17 +23,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <fsys_S.h>
kern_return_t
-trivfs_S_fsys_goaway (mach_port_t fsys,
+trivfs_S_fsys_goaway (struct trivfs_control *cntl,
int flags)
{
error_t err;
- struct port_info *pi;
-
- pi = ports_check_port_type (fsys, trivfs_cntl_porttype);
- if (!pi)
+
+ if (!cred)
return EOPNOTSUPP;
- err = trivfs_goaway (flags);
- ports_done_with_port (pi);
+ err = trivfs_goaway (flags, cred->underlying, cred->pi.type,
+ cred->protidtypes);
+
return err;
}