| Index: runtime/bin/file_fuchsia.cc
|
| diff --git a/runtime/bin/file_fuchsia.cc b/runtime/bin/file_fuchsia.cc
|
| index fb89e8c284b7129617568b41df8d0f55f43d47d3..682428268ecb6203106c41041b1f1e38f24d02b2 100644
|
| --- a/runtime/bin/file_fuchsia.cc
|
| +++ b/runtime/bin/file_fuchsia.cc
|
| @@ -541,10 +541,7 @@ File::StdioHandleType File::GetStdioHandleType(int fd) {
|
| struct stat buf;
|
| int result = fstat(fd, &buf);
|
| if (result == -1) {
|
| - const int kBufferSize = 1024;
|
| - char error_message[kBufferSize];
|
| - Utils::StrError(errno, error_message, kBufferSize);
|
| - FATAL2("Failed stat on file descriptor %d: %s", fd, error_message);
|
| + return kOther;
|
| }
|
| if (S_ISCHR(buf.st_mode)) {
|
| return kTerminal;
|
|
|