src/hotspot/os/windows/os_windows.cpp
changeset 58548 430b9a492a05
parent 58473 b1da055915ef
child 58654 562bf1878089
--- a/src/hotspot/os/windows/os_windows.cpp	Thu Oct 10 08:46:07 2019 +0200
+++ b/src/hotspot/os/windows/os_windows.cpp	Wed Oct 09 14:07:44 2019 +0200
@@ -4975,7 +4975,7 @@
 void os::pause() {
   char filename[MAX_PATH];
   if (PauseAtStartupFile && PauseAtStartupFile[0]) {
-    jio_snprintf(filename, MAX_PATH, PauseAtStartupFile);
+    jio_snprintf(filename, MAX_PATH, "%s", PauseAtStartupFile);
   } else {
     jio_snprintf(filename, MAX_PATH, "./vm.paused.%d", current_process_id());
   }