Mercurial > hg > truffle
diff src/share/vm/utilities/events.cpp @ 18009:f73af4455d7d
Merge
author | asaha |
---|---|
date | Thu, 29 May 2014 09:56:06 -0700 |
parents | 0297e36d24a1 78bbf4d43a14 |
children |
line wrap: on
line diff
--- a/src/share/vm/utilities/events.cpp Wed May 28 12:07:21 2014 -0700 +++ b/src/share/vm/utilities/events.cpp Thu May 29 09:56:06 2014 -0700 @@ -82,7 +82,7 @@ va_start(ap, format); // Save a copy of begin message and log it. _buffer.printv(format, ap); - Events::log(NULL, "%s", (const char*)_buffer); + Events::log(NULL, "%s", _buffer.buffer()); va_end(ap); } } @@ -91,6 +91,6 @@ if (LogEvents) { // Append " done" to the begin message and log it _buffer.append(" done"); - Events::log(NULL, "%s", (const char*)_buffer); + Events::log(NULL, "%s", _buffer.buffer()); } }