summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2000-03-17 19:40:25 +0000
committerRoland McGrath <roland@gnu.org>2000-03-17 19:40:25 +0000
commitc75527a0560bcd337effd173e32a30bf2aec511d (patch)
tree0f766a4751f41c36eb3516fef22713f665257716 /libdiskfs
parent30343186d7d4edbfe6efe8d726cccbc51687a4ba (diff)
2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
* file-exec.c (diskfs_S_file_exec): Fix typo and braino in last change. * init-startup.c (diskfs_startup_diskfs): Fix braino in last change.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/file-exec.c2
-rw-r--r--libdiskfs/init-startup.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/file-exec.c b/libdiskfs/file-exec.c
index 13afb7a9..45800506 100644
--- a/libdiskfs/file-exec.c
+++ b/libdiskfs/file-exec.c
@@ -161,7 +161,7 @@ diskfs_S_file_exec (struct protid *cred,
intarray, intarraylen,
deallocnames, deallocnameslen,
destroynames, destroynameslen);
- mach_port_deallocate (mach_task_self (), newpi)
+ mach_port_deallocate (mach_task_self (), right);
if (err == MACH_SEND_INVALID_DEST)
{
if (cached_exec)
diff --git a/libdiskfs/init-startup.c b/libdiskfs/init-startup.c
index 98e39ea1..26d98fe4 100644
--- a/libdiskfs/init-startup.c
+++ b/libdiskfs/init-startup.c
@@ -92,7 +92,7 @@ diskfs_startup_diskfs (mach_port_t bootstrap, int flags)
right = ports_get_send_right (newpi);
errno = fsys_startup (bootstrap, flags, right,
MACH_MSG_TYPE_COPY_SEND, &realnode);
- mach_port_deallocate (mach_task_self (), newpi);
+ mach_port_deallocate (mach_task_self (), right);
ports_port_deref (newpi);
}
if (errno)