mirror of
https://github.com/openjdk/jdk8u.git
synced 2025-12-10 09:17:33 -06:00
8261020: Wrong format parameter in create_emergency_chunk_path
Reviewed-by: sgehwolf Backport-of: d27533f1967411dfd1b50b3fe0f0cebb936f1d3a
This commit is contained in:
parent
0b5a2e7c65
commit
898e1312ba
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user