From 4ae7c2f050b077f7e011745e460b3b032a9e07e1 Mon Sep 17 00:00:00 2001 From: zgu Date: Mon, 16 Dec 2013 10:57:08 -0800 Subject: [PATCH] 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 --- src/share/vm/runtime/globals.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share/vm/runtime/globals.cpp b/src/share/vm/runtime/globals.cpp index 74f7acdba..801f7b89a 100644 --- a/src/share/vm/runtime/globals.cpp +++ b/src/share/vm/runtime/globals.cpp @@ -325,7 +325,7 @@ void Flag::print_on(outputStream* st, bool withComments) { else st->print("%-16s", ""); } - st->print("%-20"); + st->print("%-20s", " "); print_kind(st); if (withComments) { -- GitLab