mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8214944: replace strerror by os::strerror
Reviewed-by: dholmes, neliasso
This commit is contained in:
parent
75822e9f7a
commit
f8ccc8393b
7 changed files with 7 additions and 7 deletions
|
@ -5946,7 +5946,7 @@ size_t os::current_stack_size() {
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue