--- a/hotspot/src/share/vm/memory/filemap.cpp Tue Mar 15 20:37:35 2016 +0000
+++ b/hotspot/src/share/vm/memory/filemap.cpp Sat Mar 12 08:35:05 2016 +0100
@@ -363,7 +363,7 @@
fail_continue("Specified shared archive not found.");
} else {
fail_continue("Failed to open shared archive file (%s).",
- strerror(errno));
+ os::strerror(errno));
}
return false;
}
@@ -393,7 +393,7 @@
int fd = open(_full_path, O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0444);
if (fd < 0) {
fail_stop("Unable to create shared archive file %s: (%s).", _full_path,
- strerror(errno));
+ os::strerror(errno));
}
_fd = fd;
_file_offset = 0;