From dcc860c37ec01aa7dc043fe630ca9401b3306df5 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 22 Jun 1995 17:52:39 +0000 Subject: (ports_lookup_port): UNlock port lock at exit of function. --- libports/lookup-port.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3