diff -r a7c0f60a1294 -r 294e48b4f704 hotspot/src/share/vm/runtime/memprofiler.cpp --- a/hotspot/src/share/vm/runtime/memprofiler.cpp Mon Sep 28 15:05:02 2015 +0200 +++ b/hotspot/src/share/vm/runtime/memprofiler.cpp Tue Sep 29 11:02:08 2015 +0200 @@ -75,7 +75,7 @@ // Create log file _log_fp = fopen(log_name , "w+"); if (_log_fp == NULL) { - fatal(err_msg("MemProfiler: Cannot create log file: %s", log_name)); + fatal("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");