diff options
Diffstat (limited to 'rts/ProfHeap.c')
-rw-r--r-- | rts/ProfHeap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/ProfHeap.c b/rts/ProfHeap.c index 69dd798ac3..b9fc7b309c 100644 --- a/rts/ProfHeap.c +++ b/rts/ProfHeap.c @@ -1086,7 +1086,7 @@ heapCensus( void ) // Traverse the heap, collecting the census info if (RtsFlags.GcFlags.generations == 1) { - heapCensusChain( census, g0s0->blocks ); + heapCensusChain( census, g0->steps[0].blocks ); } else { for (g = 0; g < RtsFlags.GcFlags.generations; g++) { for (s = 0; s < generations[g].n_steps; s++) { |