summaryrefslogtreecommitdiff
path: root/libports
diff options
context:
space:
mode:
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 002142ed..278c5bb5 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);