Skip to content

Commit ba43a87

Browse files
wleperaawlauria
authored andcommitted
Fix opal_show_help call in bucket allocator
Signed-off-by: William P. LePera <lepera@us.ibm.com> (cherry picked from commit 273b57f)
1 parent 899c946 commit ba43a87

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)