lib: alloc: Add missing format specifier

This causes problems when displaying heap traces.

Fixes: b67c2bf0d9 ("alloc: Making heap trace dump more readable")
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
This commit is contained in:
Daniel Baluta 2022-08-23 19:12:09 +03:00 committed by Liam Girdwood
parent b3106c396e
commit fa20935113
1 changed files with 1 additions and 1 deletions

View File

@ -576,7 +576,7 @@ void heap_trace(struct mm_heap *heap, int size)
tr_info(&mem_tr, " %d Bytes blocks ID:%d base 0x%x",
current_map->block_size, j, current_map->base);
tr_info(&mem_tr, " Number of Blocks: total % used %d free %d",
tr_info(&mem_tr, " Number of Blocks: total %d used %d free %d",
current_map->count,
(current_map->count - current_map->free_count),
current_map->free_count);