From fb6208fbbc8d282f9548c14f167951161e52f69e Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 22 Nov 2017 07:30:48 -0600 Subject: [PATCH] mm: Fix a typo in a debug assertion. --- mm/mm_heap/mm_malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/mm_heap/mm_malloc.c b/mm/mm_heap/mm_malloc.c index fa623b5e6aa..cf72dc99318 100644 --- a/mm/mm_heap/mm_malloc.c +++ b/mm/mm_heap/mm_malloc.c @@ -87,7 +87,7 @@ FAR void *mm_malloc(FAR struct mm_heap_s *heap, size_t size) */ alignsize = MM_ALIGN_UP(size + SIZEOF_MM_ALLOCNODE); - DEBUGASSERT(alignedsize >= size); /* Check for integer overflow */ + DEBUGASSERT(alignsize >= size); /* Check for integer overflow */ /* We need to hold the MM semaphore while we muck with the nodelist. */