/* Print error if bit is already set. */
if (bitmap[k] & mask) {
- fprintf(stderr, "%s: Allocator corruption detected for pool %p, item offset %zu.",
+ fprintf(stderr, "%s: Allocator corruption detected for pool %p, item offset %zu.\n",
__func__, pool, item_offset);
abort();
}
/* Print error if bit is not set. */
if (!(bitmap[k] & mask)) {
- fprintf(stderr, "%s: Double-free detected for pool %p, item offset %zu.",
+ fprintf(stderr, "%s: Double-free detected for pool %p, item offset %zu.\n",
__func__, pool, item_offset);
abort();
}