summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-09 19:32:04 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-09 19:32:04 +0000
commitbb7e7778207236bd2a0fd906656ef18ef4dc7377 (patch)
treec02e94981346687397a7606c50bb1171046b6175
parentacbeef8036d828718ff22fd2dd1213bd39b1e298 (diff)
(diskfs_S_fsys_startup): Use ports_lookup_port and ports_port_deref
instead of ports_check_port_type and ports_done_with_port.
-rw-r--r--libdiskfs/fsys-startup.c7
1 files changed, 4 insertions, 3 deletions
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