src/hotspot/os/windows/os_windows.cpp
changeset 52892 442d322bb6d8
parent 52581 d402a406bbc3
child 53077 33b8f6f4cdf5
--- a/src/hotspot/os/windows/os_windows.cpp	Fri Dec 07 10:48:39 2018 +0300
+++ b/src/hotspot/os/windows/os_windows.cpp	Thu Dec 06 09:48:33 2018 +0100
@@ -1563,7 +1563,7 @@
 static inline time_t get_mtime(const char* filename) {
   struct stat st;
   int ret = os::stat(filename, &st);
-  assert(ret == 0, "failed to stat() file '%s': %s", filename, strerror(errno));
+  assert(ret == 0, "failed to stat() file '%s': %s", filename, os::strerror(errno));
   return st.st_mtime;
 }