fix wibble in memory leak error dump
authorSimon Marlow <simonmar@microsoft.com>
Thu, 14 Dec 2006 10:11:02 +0000 (10:11 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Thu, 14 Dec 2006 10:11:02 +0000 (10:11 +0000)
rts/sm/Storage.c

index ddae8c6..fba30bb 100644 (file)
@@ -1186,7 +1186,7 @@ memInventory(void)
       debugBelch("  exec         : %4lu\n", exec_blocks);
       debugBelch("  free         : %4lu\n", free_blocks);
       debugBelch("  total        : %4lu\n\n", live_blocks + free_blocks);
-      debugBelch("  in system    : %4lu\n", mblocks_allocated + BLOCKS_PER_MBLOCK);
+      debugBelch("  in system    : %4lu\n", mblocks_allocated * BLOCKS_PER_MBLOCK);
       ASSERT(0);
   }
 }