[sgen] Fix warnings on Linux.
authorMark Probst <mark.probst@gmail.com>
Wed, 22 Apr 2015 21:44:31 +0000 (14:44 -0700)
committerMark Probst <mark.probst@gmail.com>
Wed, 29 Apr 2015 18:00:13 +0000 (11:00 -0700)
mono/metadata/sgen-marksweep.c

index 5a14b1a3f3b21044df211e7fdac7dd7cf77e65cd..cc5b27d00aff17a50b421f7e96f37a3645e47e4b 100644 (file)
@@ -698,7 +698,7 @@ free_object (char *obj, size_t size, gboolean pinned)
        if (!in_free_list) {
                MSBlockInfo * volatile *free_blocks = FREE_BLOCKS (pinned, block->has_references);
                int size_index = MS_BLOCK_OBJ_SIZE_INDEX (size);
-               SGEN_ASSERT (9, !block->next_free, "block %p doesn't have a free-list of object but belongs to a free-list of blocks");
+               SGEN_ASSERT (9, !block->next_free, "block %p doesn't have a free-list of object but belongs to a free-list of blocks", block);
                add_free_block (free_blocks, size_index, block);
        }
 }