arch/arm/src/stm32h7/stm32_allocateheap.c: Fix a syslog format

This commit is contained in:
YAMAMOTO Takashi
2020-11-21 07:29:49 +09:00
committed by Xiang Xiao
parent 8a70c6bf47
commit 9d293a88f9
+2 -1
View File
@@ -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)