summaryrefslogtreecommitdiff
path: root/system/gd/os/linux_generic/alarm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'system/gd/os/linux_generic/alarm.cc')
-rw-r--r--system/gd/os/linux_generic/alarm.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/system/gd/os/linux_generic/alarm.cc b/system/gd/os/linux_generic/alarm.cc
index cd859b5fe7..22bd3b2282 100644
--- a/system/gd/os/linux_generic/alarm.cc
+++ b/system/gd/os/linux_generic/alarm.cc
@@ -77,7 +77,11 @@ void Alarm::on_fire() {
lock.unlock();
std::move(task).Run();
ASSERT(bytes_read == static_cast<ssize_t>(sizeof(uint64_t)));
- ASSERT(times_invoked == static_cast<uint64_t>(1));
+ ASSERT_LOG(
+ times_invoked == static_cast<uint64_t>(1),
+ "Invoked number of times:%lu fd:%d",
+ (unsigned long)times_invoked,
+ fd_);
}
} // namespace os