Index: runtime/bin/eventhandler_fuchsia.cc |
diff --git a/runtime/bin/eventhandler_fuchsia.cc b/runtime/bin/eventhandler_fuchsia.cc |
index 6439766178380d8a672a3ce7fca13f416cc87363..3e7096ba5d7c30d9a8399f39f4d8a47c26ee9267 100644 |
--- a/runtime/bin/eventhandler_fuchsia.cc |
+++ b/runtime/bin/eventhandler_fuchsia.cc |
@@ -199,7 +199,7 @@ void EventHandlerImplementation::HandleEvents() { |
if (wait_item.pending & wait_item.waitfor) { |
// Only the control handle has no descriptor info. |
ASSERT(info_.descriptor_infos()[i] != NULL); |
- ASSERT(info_.handles()[i] != interrupt_handles_[0]); |
+ ASSERT(wait_item.handle != interrupt_handles_[0]); |
// TODO(zra): Handle events on other handles. At the moment we are |
// only interrupted when there is a message on interrupt_handles_[0]. |
UNIMPLEMENTED(); |