From 365d706ebf4dd27bab05187b130cbe1798369c28 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 24 May 1994 21:54:59 +0000 Subject: Formerly fsys-goaway.c.~3~ --- libtrivfs/fsys-goaway.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libtrivfs') 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 -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; -- cgit v1.2.3