hotspot/src/share/vm/runtime/memprofiler.cpp
changeset 5403 6b0dd9c75dde
parent 2105 347008ce7984
child 5547 f4b087cbb361
--- a/hotspot/src/share/vm/runtime/memprofiler.cpp	Sun Oct 11 16:19:25 2009 -0700
+++ b/hotspot/src/share/vm/runtime/memprofiler.cpp	Thu Apr 22 13:23:15 2010 -0700
@@ -62,7 +62,7 @@
     // Create log file
     _log_fp = fopen(log_name , "w+");
     if (_log_fp == NULL) {
-      fatal1("MemProfiler: Cannot create log file: %s", log_name);
+      fatal(err_msg("MemProfiler: Cannot create log file: %s", log_name));
     }
     fprintf(_log_fp, "MemProfiler: sizes are in Kb, time is in seconds since startup\n\n");
     fprintf(_log_fp, "  time, #thr, #cls,  heap,  heap,  perm,  perm,  code, hndls, rescs, oopmp\n");