hotspot/src/os/linux/vm/os_linux.cpp
changeset 5410 c4b979417733
parent 5237 aab592fd4f44
child 5413 ec3af2f4d9f9
--- a/hotspot/src/os/linux/vm/os_linux.cpp	Wed Apr 07 12:28:22 2010 -0400
+++ b/hotspot/src/os/linux/vm/os_linux.cpp	Mon Apr 19 18:58:31 2010 -0400
@@ -2305,7 +2305,7 @@
     return;
   }
 
-  char buf[40];
+  char buf[PATH_MAX+1];
   int num = Atomic::add(1, &cnt);
 
   snprintf(buf, sizeof(buf), "%s/hs-vm-%d-%d",