hotspot/src/os/linux/vm/os_linux.cpp
changeset 5403 6b0dd9c75dde
parent 5237 aab592fd4f44
child 5413 ec3af2f4d9f9
--- a/hotspot/src/os/linux/vm/os_linux.cpp	Sun Oct 11 16:19:25 2009 -0700
+++ b/hotspot/src/os/linux/vm/os_linux.cpp	Thu Apr 22 13:23:15 2010 -0700
@@ -3495,7 +3495,8 @@
       // libjsig also interposes the sigaction() call below and saves the
       // old sigaction on it own.
     } else {
-      fatal2("Encountered unexpected pre-existing sigaction handler %#lx for signal %d.", (long)oldhand, sig);
+      fatal(err_msg("Encountered unexpected pre-existing sigaction handler "
+                    "%#lx for signal %d.", (long)oldhand, sig));
     }
   }
 
@@ -3817,7 +3818,8 @@
 
   Linux::set_page_size(sysconf(_SC_PAGESIZE));
   if (Linux::page_size() == -1) {
-    fatal1("os_linux.cpp: os::init: sysconf failed (%s)", strerror(errno));
+    fatal(err_msg("os_linux.cpp: os::init: sysconf failed (%s)",
+                  strerror(errno)));
   }
   init_page_sizes((size_t) Linux::page_size());