mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 13:13:08 +08:00
arch/arm/src/stm32h7/stm32_allocateheap.c: Fix a syslog format
This commit is contained in:
committed by
Xiang Xiao
parent
8a70c6bf47
commit
9d293a88f9
@@ -40,6 +40,7 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
@@ -314,7 +315,7 @@ static void addregion (uintptr_t start, uint32_t size, const char *desc)
|
||||
{
|
||||
/* Display memory ranges to help debugging */
|
||||
|
||||
minfo("%uKb of %s at %p\n", size / 1024, desc, (FAR void *)start);
|
||||
minfo("%" PRIu32 "Kb of %s at %p\n", size / 1024, desc, (FAR void *)start);
|
||||
|
||||
#if defined(CONFIG_BUILD_PROTECTED) && defined(CONFIG_MM_KERNEL_HEAP)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user