| Index: runtime/bin/fdutils_fuchsia.cc
|
| diff --git a/runtime/bin/fdutils_fuchsia.cc b/runtime/bin/fdutils_fuchsia.cc
|
| index 4aa4b29f573a8289e2b6599579650a25774b6fa8..00c9763fc8e2e2703bf8071b443f6d22b1faaa11 100644
|
| --- a/runtime/bin/fdutils_fuchsia.cc
|
| +++ b/runtime/bin/fdutils_fuchsia.cc
|
| @@ -74,6 +74,7 @@ intptr_t FDUtils::AvailableBytes(intptr_t fd) {
|
| int available; // ioctl for FIONREAD expects an 'int*' argument.
|
| int result = NO_RETRY_EXPECTED(ioctl(fd, FIONREAD, &available));
|
| if (result < 0) {
|
| + perror("ioctl(fd, FIONREAD, &available) failed");
|
| return result;
|
| }
|
| ASSERT(available >= 0);
|
|
|