| Index: runtime/bin/directory_fuchsia.cc
|
| diff --git a/runtime/bin/directory_fuchsia.cc b/runtime/bin/directory_fuchsia.cc
|
| index c9311712ced530c4dc2fb36186b764dbd91a13e2..f47f81d49d4805dcc549ba9308b597db9a3f85a1 100644
|
| --- a/runtime/bin/directory_fuchsia.cc
|
| +++ b/runtime/bin/directory_fuchsia.cc
|
| @@ -118,9 +118,6 @@ ListType DirectoryListingEntry::Next(DirectoryListing* listing) {
|
| // ports.
|
| errno = 0;
|
| dirent* entry = readdir(reinterpret_cast<DIR*>(lister_));
|
| - if (entry == NULL) {
|
| - perror("readdir failed: ");
|
| - }
|
| if (entry != NULL) {
|
| if (!listing->path_buffer().Add(entry->d_name)) {
|
| done_ = true;
|
|
|