mm/mm_heap/mm_malloc.c: Fix syslog format errors
This commit is contained in:
parent
7f61256b32
commit
8da52c82b4
@ -250,11 +250,11 @@ FAR void *mm_malloc(FAR struct mm_heap_s *heap, size_t size)
|
|||||||
#ifdef CONFIG_DEBUG_MM
|
#ifdef CONFIG_DEBUG_MM
|
||||||
if (!ret)
|
if (!ret)
|
||||||
{
|
{
|
||||||
mwarn("WARNING: Allocation failed, size %d\n", alignsize);
|
mwarn("WARNING: Allocation failed, size %zu\n", alignsize);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
minfo("Allocated %p, size %d\n", ret, alignsize);
|
minfo("Allocated %p, size %zu\n", ret, alignsize);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user