Skip to content

Commit fa20935

Browse files
dbalutalgirdwood
authored andcommitted
lib: alloc: Add missing format specifier
This causes problems when displaying heap traces. Fixes: b67c2bf ("alloc: Making heap trace dump more readable") Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
1 parent b3106c3 commit fa20935

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/alloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ void heap_trace(struct mm_heap *heap, int size)
576576

577577
tr_info(&mem_tr, " %d Bytes blocks ID:%d base 0x%x",
578578
current_map->block_size, j, current_map->base);
579-
tr_info(&mem_tr, " Number of Blocks: total % used %d free %d",
579+
tr_info(&mem_tr, " Number of Blocks: total %d used %d free %d",
580580
current_map->count,
581581
(current_map->count - current_map->free_count),
582582
current_map->free_count);

0 commit comments

Comments
 (0)