summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cont.c b/cont.c
index a8882cfc80..df4ac789bd 100644
--- a/cont.c
+++ b/cont.c
@@ -1526,7 +1526,7 @@ fiber_switch(rb_fiber_t *fib, int argc, const VALUE *argv, int is_resume)
VM_UNREACHABLE(fiber_switch);
}
else {
- /* th->fiber is also dead => switch to root fiber */
+ /* th->ec.fiber is also dead => switch to root fiber */
/* (this means we're being called from rb_fiber_terminate, */
/* and the terminated fiber's return_fiber() is already dead) */
VM_ASSERT(FIBER_SUSPENDED_P(th->root_fiber));