mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +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
|
@ -3388,7 +3388,7 @@ bool os::message_box(const char* title, const char* message) {
|
|||
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));
|
||||
#ifdef __APPLE__
|
||||
return st.st_mtimespec;
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue