| Index: runtime/bin/platform_win.cc
|
| ===================================================================
|
| --- runtime/bin/platform_win.cc (revision 14903)
|
| +++ runtime/bin/platform_win.cc (working copy)
|
| @@ -2,6 +2,7 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| +#include "bin/log.h"
|
| #include "bin/platform.h"
|
| #include "bin/socket.h"
|
|
|
| @@ -73,7 +74,7 @@
|
| NULL);
|
| if (message_size == 0) {
|
| if (GetLastError() != ERROR_INSUFFICIENT_BUFFER) {
|
| - fprintf(stderr, "FormatMessage failed %d\n", GetLastError());
|
| + Log::PrintErr("FormatMessage failed %d\n", GetLastError());
|
| }
|
| snprintf(error, kBufferSize, "OS Error %d", error_code);
|
| }
|
|
|