summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-14 18:10:03 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-14 18:10:03 +0000
commit65f6806f6ab5fe87d385ef9335efdfeee9555e1d (patch)
treea59c04d63cba802d2c344460a4ab3fe3e4eae6a6
parent88ce8bc2cc19c95de471e5c3882d21118bc95be1 (diff)
(netfs_fsys_identity): New variable.
(netfs_init): Initialize netfs_fsys_identity.
-rw-r--r--libnetfs/init-init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libnetfs/init-init.c b/libnetfs/init-init.c
index 36983790..411430f0 100644
--- a/libnetfs/init-init.c
+++ b/libnetfs/init-init.c
@@ -28,6 +28,8 @@ struct port_bucket *netfs_port_bucket = 0;
struct port_class *netfs_protid_class = 0;
struct port_class *netfs_control_class = 0;
auth_t netfs_auth_server_port = 0;
+mach_port_t netfs_fsys_identity;
+
void
netfs_init ()
@@ -36,4 +38,6 @@ netfs_init ()
netfs_control_class = ports_create_class (0, 0);
netfs_port_bucket = ports_create_bucket ();
netfs_auth_server_port = getauth ();
+ mach_port_allocate (mach_task_self (), MACH_PORT_RIGHT_RECEIVE,
+ &netfs_fsys_identity);
}