hotspot/src/os/solaris/vm/perfMemory_solaris.cpp
changeset 40095 196084720deb
parent 39970 7b433c06ccfd
child 40103 3c3569845229
--- a/hotspot/src/os/solaris/vm/perfMemory_solaris.cpp	Fri Jul 29 08:17:43 2016 +0000
+++ b/hotspot/src/os/solaris/vm/perfMemory_solaris.cpp	Fri Jul 29 11:38:07 2016 -0700
@@ -336,7 +336,7 @@
   }
 
   // Check to make sure fd and dirp are referencing the same file system object.
-  if (!is_same_fsobject(fd, dirp->dd_fd)) {
+  if (!is_same_fsobject(fd, dirp->d_fd)) {
     // The directory is not secure.
     os::close(fd);
     os::closedir(dirp);
@@ -368,7 +368,7 @@
     // Directory doesn't exist or is insecure, so there is nothing to cleanup.
     return dirp;
   }
-  int fd = dirp->dd_fd;
+  int fd = dirp->d_fd;
 
   // Open a fd to the cwd and save it off.
   int result;