summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-10-06 21:47:07 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-10-06 21:47:07 +0000
commitd7d2822a34e3f32fba0a52d6baacab2d2abaa993 (patch)
tree22e38c47b3afffd1e15a524bb66c05285033b7ca
parentfc146959bf2f4bc512467ccb0edc1e33cf463af7 (diff)
Formerly boot-start.c.~31~
-rw-r--r--libdiskfs/boot-start.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
index 3dc878be..cbe1f871 100644
--- a/libdiskfs/boot-start.c
+++ b/libdiskfs/boot-start.c
@@ -324,6 +324,10 @@ diskfs_S_fsys_init (mach_port_t port,
anything which might attempt to send an RPC to init. */
fsys_init_reply (reply, replytype, 0);
+ /* Allocate our reference here; _hurd_port_set will consume a reference
+ for the library itself. */
+ mach_port_mod_refs (mach_task_self (), authhandle, MACH_PORT_RIGHT_SEND, 1);
+
_hurd_port_set (&_hurd_ports[INIT_PORT_PROC], procserver);
_hurd_port_set (&_hurd_ports[INIT_PORT_AUTH], authhandle);