8214944: replace strerror by os::strerror

Reviewed-by: dholmes, neliasso
This commit is contained in:
Matthias Baesken 2018-12-06 09:48:33 +01:00
parent 75822e9f7a
commit f8ccc8393b
7 changed files with 7 additions and 7 deletions

View file

@ -1652,7 +1652,7 @@ void* os::get_default_process_handle() {
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;
}