8026300: VM warning: increase O_BUFLEN in ostream.hpp -- output truncated occurs with fastdebug VM when printing flags

Fixed wrong print string format

Reviewed-by: sla, ccheung
This commit is contained in:
Zhengyu Gu 2013-12-16 10:57:08 -08:00
parent ea73be64ac
commit 3a3cc4bad3

View file

@ -295,7 +295,7 @@ void Flag::print_on(outputStream* st, bool withComments) {
else st->print("%-16s", "");
}
st->print("%-20");
st->print("%-20s", " ");
print_kind(st);
if (withComments) {