Skip to content

Commit 72193af

Browse files
authored
Merge pull request #9754 from awlauria/bucket_v5.0.x
v5.0.x: Fix opal_show_help call in bucket allocator
2 parents d2c36f2 + ba43a87 commit 72193af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opal/mca/allocator/bucket/allocator_bucket_alloc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ void *mca_allocator_bucket_alloc(mca_allocator_base_module_t *mem, size_t size)
9898

9999
if( bucket_num > max_bucket_idx ) {
100100
size_t sz_bucket = MCA_ALLOCATOR_BUCKET_1_SIZE;
101-
opal_show_help ("help-mca-allocator-bucket.txt", "buffer too large", size, sz_bucket << max_bucket_idx,
101+
opal_show_help ("help-mca-allocator-bucket.txt", "buffer too large", 1, size, sz_bucket << max_bucket_idx,
102102
"allocator_bucket_num_buckets", bucket_num + 1);
103103
return (NULL);
104104
}
@@ -208,7 +208,7 @@ void *mca_allocator_bucket_alloc_align(mca_allocator_base_module_t *mem, size_t
208208

209209
if( bucket_num > max_bucket_idx ) {
210210
size_t sz_bucket = MCA_ALLOCATOR_BUCKET_1_SIZE;
211-
opal_show_help ("help-mca-allocator-bucket.txt", "aligned buffer too large", allocated_size, sz_bucket << max_bucket_idx,
211+
opal_show_help ("help-mca-allocator-bucket.txt", "aligned buffer too large", 1, allocated_size, sz_bucket << max_bucket_idx,
212212
"allocator_bucket_num_buckets", bucket_num + 1);
213213
return (NULL);
214214
}

0 commit comments

Comments
 (0)