src/hotspot/os/solaris/os_perf_solaris.cpp
changeset 53911 65f2a401e0eb
parent 53882 ca682d9d8db5
child 58083 9046db64ca39
child 58678 9cf78a70fa4f
--- a/src/hotspot/os/solaris/os_perf_solaris.cpp	Sun Feb 24 16:10:52 2019 -0500
+++ b/src/hotspot/os/solaris/os_perf_solaris.cpp	Mon Feb 18 16:17:48 2019 +0100
@@ -74,7 +74,7 @@
 
   int fd = -1;
 
-  if ((fd = open(path, O_RDONLY)) < 0) {
+  if ((fd = os::open(path, O_RDONLY, 0)) < 0) {
     return OS_ERR;
   }
   if (pread(fd, info, s, o) != s) {