summaryrefslogtreecommitdiff
path: root/libtrivfs/handle-port.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtrivfs/handle-port.c')
-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);