diff --git a/mm/mm_heap/mm_memalign.c b/mm/mm_heap/mm_memalign.c index 060b1f6f17..5d334aaa27 100644 --- a/mm/mm_heap/mm_memalign.c +++ b/mm/mm_heap/mm_memalign.c @@ -27,6 +27,7 @@ #include #include +#include #include #include @@ -287,5 +288,7 @@ FAR void *mm_memalign(FAR struct mm_heap_s *heap, size_t alignment, alignedchunk = (uintptr_t)kasan_unpoison((FAR const void *)alignedchunk, size - MM_ALLOCNODE_OVERHEAD); DEBUGASSERT(alignedchunk % alignment == 0); + minfo("Aligned %"PRIxPTR" to %"PRIxPTR", size %zu\n", + rawchunk, alignedchunk, size); return (FAR void *)alignedchunk; }