summaryrefslogtreecommitdiff
path: root/rts/sm
diff options
context:
space:
mode:
Diffstat (limited to 'rts/sm')
-rw-r--r--rts/sm/Scav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/sm/Scav.c b/rts/sm/Scav.c
index dd9a96adf8..869e6b4dc8 100644
--- a/rts/sm/Scav.c
+++ b/rts/sm/Scav.c
@@ -435,7 +435,7 @@ scavenge_block (bdescr *bd)
saved_eager_promotion = gct->eager_promotion;
gct->failed_to_evac = false;
- ws = &gct->gens[bd->gen->no];
+ ws = &gct->gens[bd->gen_no];
p = bd->u.scan;