diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-03-30 17:36:29 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-03-30 17:36:29 +0000 |
commit | 819a5d5ee8ebf6521408ccbad8e71b8db49009f9 (patch) | |
tree | 18d6572d2587da70fc5d766a420d67f20819d336 /libtrivfs | |
parent | 1461be73d18e1e91fee089605841eef06a5594d2 (diff) |
(trivfs_handle_port): Initialize CNTL->lock.
Diffstat (limited to 'libtrivfs')
-rw-r--r-- | libtrivfs/handle-port.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libtrivfs/handle-port.c b/libtrivfs/handle-port.c index 7f29597c..5b64e968 100644 --- a/libtrivfs/handle-port.c +++ b/libtrivfs/handle-port.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1994 Free Software Foundation + Copyright (C) 1994, 1995 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -27,5 +27,6 @@ trivfs_handle_port (mach_port_t realnode, cntl = ports_allocate_port (sizeof (struct trivfs_control), cntltype); cntl->underlying = realnode; cntl->protidtypes = protidtype; + mutex_init (&cntl->lock); return ports_get_right (cntl); } |