aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_dom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_dom.cpp')
-rw-r--r--src/rt/rust_dom.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rt/rust_dom.cpp b/src/rt/rust_dom.cpp
index e49eeb22..c41e2688 100644
--- a/src/rt/rust_dom.cpp
+++ b/src/rt/rust_dom.cpp
@@ -363,9 +363,10 @@ rust_dom::log_state() {
log(rust_log::TASK, "blocked tasks:");
for (size_t i = 0; i < blocked_tasks.length(); i++) {
log(rust_log::TASK,
- "\t task: %s @0x%" PRIxPTR ", blocked on: 0x%" PRIxPTR,
+ "\t task: %s @0x%" PRIxPTR ", blocked on: 0x%" PRIxPTR
+ " '%s'",
blocked_tasks[i]->name, blocked_tasks[i],
- blocked_tasks[i]->cond);
+ blocked_tasks[i]->cond, blocked_tasks[i]->cond_name);
}
}
@@ -373,7 +374,7 @@ rust_dom::log_state() {
log(rust_log::TASK, "dead tasks:");
for (size_t i = 0; i < dead_tasks.length(); i++) {
log(rust_log::TASK, "\t task: %s 0x%" PRIxPTR ", ref_count: %d",
- dead_tasks[i], dead_tasks[i]->name,
+ dead_tasks[i]->name, dead_tasks[i],
dead_tasks[i]->ref_count);
}
}