hotspot/src/os/bsd/vm/os_bsd.cpp
changeset 22784 f264891fc7a8
parent 22734 41757c1f3946
child 22881 b16d7faa638d
child 22891 1f5d1fff23fa
--- a/hotspot/src/os/bsd/vm/os_bsd.cpp	Tue Feb 11 21:32:19 2014 -0800
+++ b/hotspot/src/os/bsd/vm/os_bsd.cpp	Wed Feb 12 09:37:18 2014 -0800
@@ -1834,7 +1834,7 @@
         jrelib_p = buf + len;
         snprintf(jrelib_p, buflen-len, "/%s", COMPILER_VARIANT);
         if (0 != access(buf, F_OK)) {
-          snprintf(jrelib_p, buflen-len, "");
+          snprintf(jrelib_p, buflen-len, "%s", "");
         }
 
         // If the path exists within JAVA_HOME, add the JVM library name