hotspot/src/os/windows/vm/os_windows.cpp
changeset 5403 6b0dd9c75dde
parent 5237 aab592fd4f44
child 5547 f4b087cbb361
--- a/hotspot/src/os/windows/vm/os_windows.cpp	Sun Oct 11 16:19:25 2009 -0700
+++ b/hotspot/src/os/windows/vm/os_windows.cpp	Thu Apr 22 13:23:15 2010 -0700
@@ -724,7 +724,7 @@
   java_origin.wMilliseconds  = 0;
   FILETIME jot;
   if (!SystemTimeToFileTime(&java_origin, &jot)) {
-    fatal1("Error = %d\nWindows error", GetLastError());
+    fatal(err_msg("Error = %d\nWindows error", GetLastError()));
   }
   _calculated_offset = jlong_from(jot.dwHighDateTime, jot.dwLowDateTime);
   _has_calculated_offset = 1;
@@ -4095,7 +4095,7 @@
       }
       int err = GetLastError();
       if (err != ERROR_NO_MORE_ITEMS && err != ERROR_CALL_NOT_IMPLEMENTED) {
-        fatal1("heap walk aborted with error %d", err);
+        fatal(err_msg("heap walk aborted with error %d", err));
       }
       HeapUnlock(heap);
     }