From 8da52c82b4d1ed1cb4d41dd39a2773515d458e20 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 20 Nov 2020 11:53:24 +0900 Subject: [PATCH] mm/mm_heap/mm_malloc.c: Fix syslog format errors --- mm/mm_heap/mm_malloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/mm_heap/mm_malloc.c b/mm/mm_heap/mm_malloc.c index 71a5c5af819..1c45aacc535 100644 --- a/mm/mm_heap/mm_malloc.c +++ b/mm/mm_heap/mm_malloc.c @@ -250,11 +250,11 @@ FAR void *mm_malloc(FAR struct mm_heap_s *heap, size_t size) #ifdef CONFIG_DEBUG_MM if (!ret) { - mwarn("WARNING: Allocation failed, size %d\n", alignsize); + mwarn("WARNING: Allocation failed, size %zu\n", alignsize); } else { - minfo("Allocated %p, size %d\n", ret, alignsize); + minfo("Allocated %p, size %zu\n", ret, alignsize); } #endif