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
--- a/hotspot/src/share/vm/runtime/globals.cpp Mon Dec 16 11:17:33 2013 +0100
+++ b/hotspot/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) {