< prev index next >
src/hotspot/os/solaris/os_solaris.cpp
Print this page
rev 52870 : 8214944: replace strerror by os::strerror
@@ -1650,11 +1650,11 @@
}
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;
}
int os::compare_file_modified_times(const char* file1, const char* file2) {
time_t t1 = get_mtime(file1);
< prev index next >