summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-08-24 15:45:17 +0000
committerMiles Bader <miles@gnu.org>1995-08-24 15:45:17 +0000
commitf8e7bf4c6efab4ddb91efaa9a75e55a959aeb557 (patch)
tree46b1219b2014b07c0343d81a38fc7599aaa70e67
parent813a72235eb8147045cfb637cfb26be31c736930 (diff)
(trivfs_handle_port): Initialize the hook field.
-rw-r--r--libtrivfs/handle-port.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libtrivfs/handle-port.c b/libtrivfs/handle-port.c
index cd3a43b7..446aa082 100644
--- a/libtrivfs/handle-port.c
+++ b/libtrivfs/handle-port.c
@@ -32,6 +32,7 @@ trivfs_handle_port (mach_port_t realnode,
cntl->underlying = realnode;
cntl->protid_class = protid_class;
cntl->protid_bucket = protid_bucket;
+ cntl->hook = 0;
mutex_init (&cntl->lock);
right = ports_get_right (cntl);
ports_port_deref (cntl);