summaryrefslogtreecommitdiff
path: root/libports
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-22 20:33:34 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-22 20:33:34 +0000
commit73377fe5b48a91278dcaae281ecf982baa97b147 (patch)
tree3d14317bb2737c66a96af12265f561cdd54749cd /libports
parentf33c5d84db654753e91fd1c6b660ceb54878cc59 (diff)
(ports_enable_bucket): Turn flag *on* when waiting.
Diffstat (limited to 'libports')
-rw-r--r--libports/enable-bucket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libports/enable-bucket.c b/libports/enable-bucket.c
index 0a5ea538..002142ed 100644
--- a/libports/enable-bucket.c
+++ b/libports/enable-bucket.c
@@ -28,7 +28,7 @@ ports_enable_bucket (struct port_bucket *bucket)
bucket->flags &= ~PORT_BUCKET_NO_ALLOC;
if (bucket->flags & PORT_BUCKET_ALLOC_WAIT)
{
- bucket->flags &= PORT_BUCKET_ALLOC_WAIT;
+ bucket->flags |= PORT_BUCKET_ALLOC_WAIT;
condition_broadcast (&_ports_block);
}
mutex_unlock (&_ports_lock);