< prev index next >
src/hotspot/os/linux/os_linux.cpp
Print this page
rev 52870 : 8214944: replace strerror by os::strerror
@@ -5944,11 +5944,11 @@
#endif
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;
}
int os::compare_file_modified_times(const char* file1, const char* file2) {
struct timespec filetime1 = get_mtime(file1);
< prev index next >