summaryrefslogtreecommitdiff
path: root/libdiskfs/init-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/init-init.c')
-rw-r--r--libdiskfs/init-init.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libdiskfs/init-init.c b/libdiskfs/init-init.c
index 31eb7f5a..ee1e5937 100644
--- a/libdiskfs/init-init.c
+++ b/libdiskfs/init-init.c
@@ -75,13 +75,12 @@ diskfs_init_diskfs (mach_port_t bootstrap)
ports_allocate_port (sizeof (struct port_info),
PT_CTL),
MACH_MSG_TYPE_MAKE_SEND,
- &realnode,
- &_diskfs_dotdot_file);
+ &realnode);
if (err)
- realnode = _diskfs_dotdot_file = MACH_PORT_NULL;
+ realnode = MACH_PORT_NULL;
}
else
- realnode = _diskfs_dotdot_file = MACH_PORT_NULL;
+ realnode = MACH_PORT_NULL;
device_open (diskfs_master_device, 0, "time", &timedev);
device_map (timedev, VM_PROT_READ, 0, sizeof (mapped_time_value_t), &obj, 0);