From bb7e7778207236bd2a0fd906656ef18ef4dc7377 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 9 Jun 1995 19:32:04 +0000 Subject: (diskfs_S_fsys_startup): Use ports_lookup_port and ports_port_deref instead of ports_check_port_type and ports_done_with_port. --- libdiskfs/fsys-startup.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libdiskfs') diff --git a/libdiskfs/fsys-startup.c b/libdiskfs/fsys-startup.c index 0eb10900..386166b0 100644 --- a/libdiskfs/fsys-startup.c +++ b/libdiskfs/fsys-startup.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1993, 1994 Free Software Foundation + Copyright (C) 1993, 1994, 1995 Free Software Foundation This file is part of the GNU Hurd. @@ -29,13 +29,14 @@ diskfs_S_fsys_startup (mach_port_t port, mach_port_t *real, mach_msg_type_name_t *realpoly) { - struct port_info *pi = ports_check_port_type (port, PT_TRANSBOOT); + struct port_info *pi = ports_lookup_port (diskfs_port_bucket, port, + diskfs_transboot_class); error_t err; if (pi) { err = fshelp_handle_fsys_startup (pi, ctl, real, realpoly); - ports_done_with_port (pi); + ports_port_deref (pi); return err; } else -- cgit v1.2.3