summaryrefslogtreecommitdiff
path: root/libtrivfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-05-24 21:54:59 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-05-24 21:54:59 +0000
commit365d706ebf4dd27bab05187b130cbe1798369c28 (patch)
treef6bfaf54d28abbcf4ff1ebcc96c9a7c34b3a44f0 /libtrivfs
parente591ac4f3e8dbee039a6a8eb61ca36b3852e6097 (diff)
Formerly fsys-goaway.c.~3~
Diffstat (limited to 'libtrivfs')
-rw-r--r--libtrivfs/fsys-goaway.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libtrivfs/fsys-goaway.c b/libtrivfs/fsys-goaway.c
index b9bbabdb..ea68a9fe 100644
--- a/libtrivfs/fsys-goaway.c
+++ b/libtrivfs/fsys-goaway.c
@@ -20,15 +20,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Written by Michael I. Bushnell. */
#include "priv.h"
+#include <fsys_S.h>
-error_t
+kern_return_t
trivfs_S_fsys_goaway (mach_port_t fsys,
int flags)
{
error_t err;
struct port_info *pi;
- pi = ports_get_port (fsys, trivfs_cntl_porttype);
+ pi = ports_check_type (fsys, trivfs_cntl_porttype);
if (!pi)
return EOPNOTSUPP;