| Index: runtime/platform/assert.cc
|
| diff --git a/runtime/platform/assert.cc b/runtime/platform/assert.cc
|
| index c5b91e714f3bbb6c4a1ea6c73c56b562a38ffab4..ff71e3f78c8cefb827bfb0419fee4cb8fe02d668 100644
|
| --- a/runtime/platform/assert.cc
|
| +++ b/runtime/platform/assert.cc
|
| @@ -34,9 +34,8 @@ void DynamicAssertionHelper::Fail(const char* format, ...) {
|
| arguments);
|
| va_end(arguments);
|
|
|
| - // Print the buffer on stderr.
|
| - fprintf(stderr, "%s\n", buffer);
|
| - fflush(stderr);
|
| + // Print the buffer on stderr and/or syslog.
|
| + OS::PrintErr("%s\n", buffer);
|
|
|
| // In case of failed assertions, abort right away. Otherwise, wait
|
| // until the program is exiting before producing a non-zero exit
|
|
|