summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-12 00:06:59 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-12 00:06:59 +0000
commit78260b1374f8876525bf11b18224342f49836495 (patch)
tree0b14a920ed8e959a5c93031449bb6a82800de704
parent8636d55688cdb3b266a6498f5bfebb86aeb972ea (diff)
Formerly init-init.c.~5~
-rw-r--r--libdiskfs/init-init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdiskfs/init-init.c b/libdiskfs/init-init.c
index 5463ccb8..282facbb 100644
--- a/libdiskfs/init-init.c
+++ b/libdiskfs/init-init.c
@@ -60,9 +60,9 @@ diskfs_init_diskfs (void)
ports_wire_threads = diskfs_host_priv;
- diskfs_control_port =
- ((struct port_info *)ports_allocate_port(sizeof (struct port_info),
- PT_CTL))->port;
+ diskfs_control_port = (ports_get_right
+ (ports_allocate_port(sizeof (struct port_info),
+ PT_CTL)));
diskfs_default_pager = MACH_PORT_NULL;
vm_set_default_memory_manager (diskfs_host_priv, &diskfs_default_pager);