changeset 14177:b7cd330fd5b6

8026300: VM warning: increase O_BUFLEN in ostream.hpp -- output truncated occurs with fastdebug VM when printing flags Summary: Fixed wrong print string format Reviewed-by: sla, ccheung
author zgu
date Mon, 16 Dec 2013 10:57:08 -0800
parents eb79bf22508b
children 0f2de9d724a9
files src/share/vm/runtime/globals.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.cpp	Mon Dec 16 11:17:33 2013 +0100
+++ b/src/share/vm/runtime/globals.cpp	Mon Dec 16 10:57:08 2013 -0800
@@ -295,7 +295,7 @@
     else st->print("%-16s", "");
   }
 
-  st->print("%-20");
+  st->print("%-20s", " ");
   print_kind(st);
 
   if (withComments) {