summaryrefslogtreecommitdiff
path: root/lib/block_allocator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/block_allocator.cpp')
-rw-r--r--lib/block_allocator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/block_allocator.cpp b/lib/block_allocator.cpp
index 950fddb..d2d7424 100644
--- a/lib/block_allocator.cpp
+++ b/lib/block_allocator.cpp
@@ -90,7 +90,7 @@ void BlockActor::handle_top_alloc(const TopAllocMessage &, const Theron::Address
const size_t bytes = recommend_length(
this->output_allocation_hints[i],
- this->output_multiple_items[i]*this->output_items_sizes[i],
+ this->output_configs[i].reserve_items*this->output_items_sizes[i],
at_least_items*this->output_items_sizes[i]
);