--- 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");