Skip to content
Snippets Groups Projects
Commit fb6208fb authored by Gregory Nutt's avatar Gregory Nutt
Browse files

mm: Fix a typo in a debug assertion.

parent d1aead1d
No related branches found
No related tags found
No related merge requests found
......@@ -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. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment