From f8e7bf4c6efab4ddb91efaa9a75e55a959aeb557 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 24 Aug 1995 15:45:17 +0000 Subject: (trivfs_handle_port): Initialize the hook field. --- libtrivfs/handle-port.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libtrivfs') 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); -- cgit v1.2.3