diff options
Diffstat (limited to 'src/usr/console/console.C')
-rw-r--r-- | src/usr/console/console.C | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/console/console.C b/src/usr/console/console.C index 74f496f93..8a066fe85 100644 --- a/src/usr/console/console.C +++ b/src/usr/console/console.C @@ -6,6 +6,7 @@ /* OpenPOWER HostBoot Project */ /* */ /* Contributors Listed Below - COPYRIGHT 2014 */ +/* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* [+] Google Inc. */ /* */ @@ -66,6 +67,8 @@ namespace CONSOLE class OutputBuffer : public Util::ConsoleBufferInterface { public: + OutputBuffer() { str.reserve(64); } + int putc(int c) { str.push_back(c); |