fix typo in emergency dump path JEP-349-branch
authormgronlun
Mon, 30 Sep 2019 13:27:55 +0200
branchJEP-349-branch
changeset 58395 42d3bce9d538
parent 58392 be0dc16e920d
child 58396 58c7f9d726ba
fix typo in emergency dump path
src/hotspot/share/jfr/recorder/repository/jfrEmergencyDump.cpp
--- a/src/hotspot/share/jfr/recorder/repository/jfrEmergencyDump.cpp	Sun Sep 29 16:12:47 2019 +0200
+++ b/src/hotspot/share/jfr/recorder/repository/jfrEmergencyDump.cpp	Mon Sep 30 13:27:55 2019 +0200
@@ -305,7 +305,7 @@
     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;
 }