src/hotspot/os/linux/os_linux.cpp
changeset 53260 fbc921683f02
parent 53155 c3d6035c11f3
child 53266 57d8566a2732
--- a/src/hotspot/os/linux/os_linux.cpp	Fri Jan 11 09:57:15 2019 -0800
+++ b/src/hotspot/os/linux/os_linux.cpp	Fri Jan 11 13:34:57 2019 +0100
@@ -1884,7 +1884,7 @@
       char name[PATH_MAX + 1];
 
       // Parse fields from line
-      sscanf(line, UINT64_FORMAT_X "-" UINT64_FORMAT_X " %4s " UINT64_FORMAT_X " %5s " INT64_FORMAT " %s",
+      sscanf(line, UINT64_FORMAT_X "-" UINT64_FORMAT_X " %4s " UINT64_FORMAT_X " %7s " INT64_FORMAT " %s",
              &base, &top, permissions, &offset, device, &inode, name);
 
       // Filter by device id '00:00' so that we only get file system mapped files.