diff options
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/init-init.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libdiskfs/init-init.c b/libdiskfs/init-init.c index d0c142c5..31eb7f5a 100644 --- a/libdiskfs/init-init.c +++ b/libdiskfs/init-init.c @@ -34,7 +34,7 @@ spin_lock_t _diskfs_control_lock = SPIN_LOCK_INITIALIZER; int _diskfs_ncontrol_ports = 0; /* XXX */ -mach_port_t _diskfs_dotdot_node = MACH_PORT_NULL; +mach_port_t _diskfs_dotdot_file = MACH_PORT_NULL; /* Call this after arguments have been parsed to initialize the library. */ @@ -76,12 +76,12 @@ diskfs_init_diskfs (mach_port_t bootstrap) PT_CTL), MACH_MSG_TYPE_MAKE_SEND, &realnode, - &_diskfs_dotdot_node); + &_diskfs_dotdot_file); if (err) - realnode = _diskfs_dotdot_node = MACH_PORT_NULL; + realnode = _diskfs_dotdot_file = MACH_PORT_NULL; } else - realnode = _diskfs_dotdot_node = MACH_PORT_NULL; + realnode = _diskfs_dotdot_file = 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); |