mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 13:55:15 +00:00
mm/mm_heap/mm_malloc.c: Fix syslog format errors
This commit is contained in:
parent
7f61256b32
commit
8da52c82b4
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue