From: Mark Probst Date: Wed, 22 Apr 2015 21:44:31 +0000 (-0700) Subject: [sgen] Fix warnings on Linux. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=b51b7f5ac8f01a909dafbaf1797dd166271714b1;p=mono.git [sgen] Fix warnings on Linux. --- diff --git a/mono/metadata/sgen-marksweep.c b/mono/metadata/sgen-marksweep.c index 5a14b1a3f3b..cc5b27d00af 100644 --- a/mono/metadata/sgen-marksweep.c +++ b/mono/metadata/sgen-marksweep.c @@ -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); } }