mm: Fix a typo in a debug assertion.
This commit is contained in:
parent
d1aead1d8c
commit
fb6208fbbc
1 changed files with 1 additions and 1 deletions
|
|
@ -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. */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue