summaryrefslogtreecommitdiff
path: root/libtrivfs
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>2000-03-17 17:22:56 +0000
committerThomas Bushnell <thomas@gnu.org>2000-03-17 17:22:56 +0000
commit2dea3cde451f40e8ff43c273771c12302f7ccc79 (patch)
tree725682aa323c57aaa52963a1cac9ab24737dc187 /libtrivfs
parentc027651cd57ac9785057b1d11aa1595ffd0edf60 (diff)
2000-03-17 Thomas Bushnell, BSG <tb@mit.edu>
* startup.c (trivfs_startup): Don't use MAKE_SEND in Hurd RPC.
Diffstat (limited to 'libtrivfs')
-rw-r--r--libtrivfs/ChangeLog4
-rw-r--r--libtrivfs/startup.c7
2 files changed, 8 insertions, 3 deletions
diff --git a/libtrivfs/ChangeLog b/libtrivfs/ChangeLog
index 789174de..ecb2916c 100644
--- a/libtrivfs/ChangeLog
+++ b/libtrivfs/ChangeLog
@@ -1,3 +1,7 @@
+2000-03-17 Thomas Bushnell, BSG <tb@mit.edu>
+
+ * startup.c (trivfs_startup): Don't use MAKE_SEND in Hurd RPC.
+
2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
* io-reauthenticate.c (trivfs_S_io_reauthenticate): Use
diff --git a/libtrivfs/startup.c b/libtrivfs/startup.c
index 3783efc2..86b0f827 100644
--- a/libtrivfs/startup.c
+++ b/libtrivfs/startup.c
@@ -1,6 +1,6 @@
/* Contact parent filesystem and establish ourselves as the translator.
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 2000 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -49,11 +49,12 @@ trivfs_startup(mach_port_t bootstrap, int flags,
if (err)
return err;
- right = ports_get_right (fsys);
+ right = ports_get_send_right (fsys);
/* Contact whoever started us. */
- err = fsys_startup (bootstrap, flags, right, MACH_MSG_TYPE_MAKE_SEND,
+ err = fsys_startup (bootstrap, flags, right, MACH_MSG_TYPE_COPY_SEND,
&underlying);
+ mach_port_deallocate (mach_task_self (), right);
if (! err)
fsys->underlying = underlying;