diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-06-22 17:52:39 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-06-22 17:52:39 +0000 |
commit | dcc860c37ec01aa7dc043fe630ca9401b3306df5 (patch) | |
tree | ddb15f00920e994fbe2ecdc4a6a2e0a5e75630dc | |
parent | 5f497c4a927cc5ee6ab2166bfcbc2b6b44172135 (diff) |
(ports_lookup_port): UNlock port lock at exit of function.
-rw-r--r-- | libports/lookup-port.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libports/lookup-port.c b/libports/lookup-port.c index 94b3c2a7..d0ee8d00 100644 --- a/libports/lookup-port.c +++ b/libports/lookup-port.c @@ -47,7 +47,7 @@ ports_lookup_port (struct port_bucket *bucket, if (pi) pi->refcnt++; - mutex_lock (&_ports_lock); + mutex_unlock (&_ports_lock); return pi; } |