src/hotspot/os_cpu/linux_x86/gc/z/zBackingPath_linux_x86.cpp
changeset 54834 39ba09047e19
parent 50980 343d3c0dd368
--- a/src/hotspot/os_cpu/linux_x86/gc/z/zBackingPath_linux_x86.cpp	Tue May 14 09:12:06 2019 +0200
+++ b/src/hotspot/os_cpu/linux_x86/gc/z/zBackingPath_linux_x86.cpp	Tue May 14 09:55:02 2019 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -72,7 +72,7 @@
   FILE* fd = fopen(PROC_SELF_MOUNTINFO, "r");
   if (fd == NULL) {
     ZErrno err;
-    log_error(gc, init)("Failed to open %s: %s", PROC_SELF_MOUNTINFO, err.to_string());
+    log_error(gc)("Failed to open %s: %s", PROC_SELF_MOUNTINFO, err.to_string());
     return;
   }
 
@@ -113,10 +113,10 @@
   }
 
   // Preferred mount point not found
-  log_error(gc, init)("More than one %s filesystem found:", filesystem);
+  log_error(gc)("More than one %s filesystem found:", filesystem);
   ZArrayIterator<char*> iter2(mountpoints);
   for (char* mountpoint; iter2.next(&mountpoint);) {
-    log_error(gc, init)("  %s", mountpoint);
+    log_error(gc)("  %s", mountpoint);
   }
 
   return NULL;
@@ -130,7 +130,7 @@
 
   if (mountpoints.size() == 0) {
     // No mount point found
-    log_error(gc, init)("Failed to find an accessible %s filesystem", filesystem);
+    log_error(gc)("Failed to find an accessible %s filesystem", filesystem);
   } else if (mountpoints.size() == 1) {
     // One mount point found
     path = strdup(mountpoints.at(0));