summaryrefslogtreecommitdiff
path: root/libtrivfs
diff options
context:
space:
mode:
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;