summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-11-07 01:00:19 +0000
committerRoland McGrath <roland@gnu.org>1998-11-07 01:00:19 +0000
commite6b96c693555bd15b60ee1798f8ec6271e437f47 (patch)
treecb67b0f88514a65e61899f57eafd953facbbb76e /libdiskfs
parenta08515735de79eda5994d15abfce3c0fee30a7f9 (diff)
1998-10-26 Gordon Matzigkeit <gord@trick.fig.org>
* init-startup.c (diskfs_startup_diskfs): Use diskfs_nput to free the old diskfs_root_node when switching to a virtual root.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/init-startup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/init-startup.c b/libdiskfs/init-startup.c
index 3573f8ff..ea77283c 100644
--- a/libdiskfs/init-startup.c
+++ b/libdiskfs/init-startup.c
@@ -75,7 +75,7 @@ diskfs_startup_diskfs (mach_port_t bootstrap, int flags)
if _diskfs_chroot_directory is non-null. */
old = diskfs_root_node;
diskfs_root_node = np;
- ports_port_deref (old);
+ diskfs_nput (old);
}
if (bootstrap != MACH_PORT_NULL)