Skip to content

Commit

Permalink
8261020: Wrong format parameter in create_emergency_chunk_path
Browse files Browse the repository at this point in the history
Reviewed-by: goetz
Backport-of: d27533f1967411dfd1b50b3fe0f0cebb936f1d3a
  • Loading branch information
lingjun-cg committed Nov 6, 2024
1 parent 1d2f467 commit 423ec11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ static const char* create_emergency_chunk_path(const char* repository_path) {
return NULL;
}
// append the individual substrings
jio_snprintf(chunk_path, chunkname_max_len, "%s%s%s%s", repository_path_len, os::file_separator(), date_time_buffer, chunk_file_jfr_ext);
jio_snprintf(chunk_path, chunkname_max_len, "%s%s%s%s", repository_path, os::file_separator(), date_time_buffer, chunk_file_jfr_ext);
return chunk_path;
}

Expand Down

0 comments on commit 423ec11

Please sign in to comment.