src/hotspot/os/linux/os_linux.cpp
changeset 52892 442d322bb6d8
parent 52734 d537553ed639
child 52960 a6182c464b31
--- a/src/hotspot/os/linux/os_linux.cpp	Fri Dec 07 10:48:39 2018 +0300
+++ b/src/hotspot/os/linux/os_linux.cpp	Thu Dec 06 09:48:33 2018 +0100
@@ -5946,7 +5946,7 @@
 static inline struct timespec 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_mtim;
 }