mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
mm/mm_heap/mm_initialize.c: Fix syslog format errors
This commit is contained in:
committed by
Xiang Xiao
parent
7c962595a5
commit
7f61256b32
@@ -92,7 +92,7 @@ void mm_addregion(FAR struct mm_heap_s *heap, FAR void *heapstart,
|
|||||||
heapend = MM_ALIGN_DOWN((uintptr_t)heapstart + (uintptr_t)heapsize);
|
heapend = MM_ALIGN_DOWN((uintptr_t)heapstart + (uintptr_t)heapsize);
|
||||||
heapsize = heapend - heapbase;
|
heapsize = heapend - heapbase;
|
||||||
|
|
||||||
minfo("Region %d: base=%p size=%u\n", IDX + 1, heapstart, heapsize);
|
minfo("Region %d: base=%p size=%zu\n", IDX + 1, heapstart, heapsize);
|
||||||
|
|
||||||
/* Add the size of this region to the total size of the heap */
|
/* Add the size of this region to the total size of the heap */
|
||||||
|
|
||||||
@@ -157,7 +157,7 @@ void mm_initialize(FAR struct mm_heap_s *heap, FAR void *heapstart,
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
minfo("Heap: start=%p size=%u\n", heapstart, heapsize);
|
minfo("Heap: start=%p size=%zu\n", heapstart, heapsize);
|
||||||
|
|
||||||
/* The following two lines have cause problems for some older ZiLog
|
/* The following two lines have cause problems for some older ZiLog
|
||||||
* compilers in the past (but not the more recent). Life is easier if we
|
* compilers in the past (but not the more recent). Life is easier if we
|
||||||
|
|||||||
Reference in New Issue
Block a user