Skip to content

Commit 855fe3b

Browse files
CatherineMoorejprotze
authored andcommitted
[OpenMP] Update printf stmt in kmp_settings.cpp (llvm#152800)
Remove extraneous argument from printf statement --------- Co-authored-by: Joachim <[email protected]>
1 parent e7730fe commit 855fe3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openmp/runtime/src/kmp_settings.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3278,9 +3278,9 @@ static void __kmp_stg_print_places(kmp_str_buf_t *buffer, char const *name,
32783278
int eff = __kmp_affinity.core_attr_gran.core_eff;
32793279
if (ct != KMP_HW_CORE_TYPE_UNKNOWN) {
32803280
const char *ct_name = __kmp_hw_get_core_type_keyword(ct);
3281-
__kmp_str_buf_print(buffer, ":%s", name, ct_name);
3281+
__kmp_str_buf_print(buffer, ":%s", ct_name);
32823282
} else if (eff >= 0 && eff < KMP_HW_MAX_NUM_CORE_EFFS) {
3283-
__kmp_str_buf_print(buffer, ":eff%d", name, eff);
3283+
__kmp_str_buf_print(buffer, ":eff%d", eff);
32843284
}
32853285
}
32863286

0 commit comments

Comments
 (0)