Skip to content

Commit 9990c7d

Browse files
committed
fix format specifier
1 parent bf5ea9b commit 9990c7d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/iso_alloc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ INTERNAL_HIDDEN void *_iso_alloc_bitslot_from_zone(bit_slot_t bitslot, iso_alloc
10941094
}
10951095

10961096
if(UNLIKELY((GET_BIT(b, which_bit)) != 0)) {
1097-
LOG_AND_ABORT("Zone[%d] for chunk size %d cannot return allocated chunk at 0x%p bitmap location @ 0x%p. bit slot was %lu, bit number was %" PRIu64,
1097+
LOG_AND_ABORT("Zone[%d] for chunk size %d cannot return allocated chunk at 0x%p bitmap location @ 0x%p. bit slot was %lu, bit number was %lu",
10981098
zone->index, zone->chunk_size, p, &bm[dwords_to_bit_slot], bitslot, which_bit);
10991099
}
11001100

@@ -1649,7 +1649,7 @@ INTERNAL_HIDDEN void iso_free_chunk_from_zone(iso_alloc_zone *zone, void *p, boo
16491649

16501650
/* Double free detection */
16511651
if(UNLIKELY((GET_BIT(b, which_bit)) == 0)) {
1652-
LOG_AND_ABORT("Double free of chunk 0x%p detected from zone[%d] dwords_to_bit_slot=%lu bit_slot=%" PRIu64, p, zone->index, dwords_to_bit_slot, bit_slot);
1652+
LOG_AND_ABORT("Double free of chunk 0x%p detected from zone[%d] dwords_to_bit_slot=%lu bit_slot=%lu", p, zone->index, dwords_to_bit_slot, bit_slot);
16531653
}
16541654

16551655
/* Set the next bit so we know this chunk was used */

0 commit comments

Comments
 (0)