changeset 6107:b257acb35d3e

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 bfdf528be8e8
children 5186bc5047c1
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	Fri Apr 04 10:43:56 2014 +0200
+++ b/src/share/vm/runtime/globals.cpp	Mon Dec 16 10:57:08 2013 -0800
@@ -325,7 +325,7 @@
     else st->print("%-16s", "");
   }
 
-  st->print("%-20");
+  st->print("%-20s", " ");
   print_kind(st);
 
   if (withComments) {