< prev index next >

src/hotspot/share/logging/logFileOutput.cpp

Print this page
rev 52870 : 8214944: replace strerror by os::strerror

@@ -246,11 +246,11 @@
   }
 
   _stream = os::fopen(_file_name, FileOpenMode);
   if (_stream == NULL) {
     errstream->print_cr("Error opening log file '%s': %s",
-                        _file_name, strerror(errno));
+                        _file_name, os::strerror(errno));
     return false;
   }
 
   if (_file_count == 0 && is_regular_file(_file_name)) {
     log_trace(logging)("Truncating log file");
< prev index next >